Get the price of the specified token.
curl --request GET \ --url https://api.chainbase.online/v1/token/price \ --header 'x-api-key: <x-api-key>'
{ "code": 0, "message": "ok", "data": { "price": 123, "symbol": "<string>", "decimals": 123, "updated_at": "2023-11-07T05:31:56Z" } }
chain network id, see list of details
The address of the token contract
Show child attributes
The price of the ERC-20 token in USD.
The symbol of the ERC-20 token.
The number of decimals of the ERC-20 token.
The updated time of the price for the ERC-20 token.