Wormhole · Example Payload

Get Protocol Trending Tokens

wormholescan

Get Protocol Trending Tokens is an example object payload from Wormhole, with 7 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdsummarytagsmethodpathparametersresponses

Example Payload

Raw ↑
{
  "operationId": "get-protocol-trending-tokens",
  "summary": "",
  "tags": [
    "wormholescan"
  ],
  "method": "GET",
  "path": "/api/v1/protocols/{protocolId}/trending_tokens",
  "parameters": [
    {
      "name": "protocolId",
      "in": "path",
      "required": true,
      "type": "string"
    },
    {
      "name": "from",
      "in": "query",
      "required": true,
      "type": "string"
    },
    {
      "name": "to",
      "in": "query",
      "required": true,
      "type": "string"
    }
  ],
  "responses": {
    "200": {
      "description": "OK",
      "schema": {
        "$ref": "#/definitions/protocols.ProtocolTrendingTokensResponse"
      }
    },
    "400": {
      "description": "Bad Request",
      "schema": {
        "$ref": "#/definitions/response.APIError"
      }
    },
    "500": {
      "description": "Internal Server Error",
      "schema": {
        "$ref": "#/definitions/response.APIError"
      }
    }
  }
}