cURL
curl --request GET \ --url https://api.chainbase.online/v1/token/metadata \ --header 'x-api-key: <x-api-key>'
{ "code": 0, "message": "ok", "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 } }
Get the metadata of a specified token.
"demo"
chain network id, see list of details
The address of the token contract
Successful Response
The response is of type object.
object