GET
/
v1
/
token
/
metadata
curl --request GET \
  --url https://api.chainbase.online/v1/token/metadata \
  --header 'x-api-key: <x-api-key>'
{
  "code": 123,
  "message": "<string>",
  "data": {
    "contract_address": "<string>",
    "decimals": 123,
    "name": "<string>",
    "symbol": "<string>",
    "total_supply": "<string>",
    "logos": [
      {
        "uri": "<string>",
        "width": 123,
        "height": 123
      }
    ],
    "urls": [
      {
        "name": "<string>",
        "url": "<string>"
      }
    ],
    "current_usd_price": 123
  }
}

Headers

x-api-key
string
required

Query Parameters

chain_id
string
required

chain network id, see list of details

contract_address
string
required

The address of the token contract

Response

200 - application/json
code
integer
default: 0
message
string
default: ok
data
object