๐watch_getTokenMetadata
This endpoint returns all the data about the token
Parameters
contractaddress: DATA, 20 Bytes - smart contract address
Returns
Object - An object with the following fields:
contractAddress:DATA, 20 Bytes - smart contract address for which the information was requestedblockchain: the name of BlockchaintokenName: Full token nametokenSymbol: TickertokenDecimals: ะขumber of decimal pointslastUpdate: last request update date
Request example
curl --location --request POST 'https://ethereum.api.watchdata.io/node/jsonrpc?api_key=your_api_key' \
--header 'x-api-key: your_api_key' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc":"2.0",
"method":"watch_getTokenMetadata",
"params":["0xdAC17F958D2ee523a2206206994597C13D831ec7"],
"id":1
}'URL: https://ethereum.api.watchdata.io/node/jsonrpc?api_key=your_api_key
RequestType: POST
Body:
{
"jsonrpc":"2.0",
"method":"watch_getTokenMetadata",
"params":["0xdAC17F958D2ee523a2206206994597C13D831ec7"],
"id":1
}Result
Last updated