Skip to main content

Don't have an RPC Node yet?

Start using RPC Nodes in your project today.

Get your free RPC Node

eth_getTokenMetadata

Get ERC-20 Token Metadata by Token Address

POSThttps://site1.moralis-nodes.com/:chain/:apiKey

Retrieves metadata information about ERC20 tokens based on their contract addresses. This includes details such as the token's name, symbol, logo, total supply, and various social media links.

Note

Please refer to RPC schema page for more details on the RPC params and RPC response definitions of the RPC method.

PATH PARAMS
chainstringrequired
The blockchain to interact with.
apiKeystringrequired
Your API key for authentication.
BODY PARAM
Request Bodyobjectrequired
The request payload for retrieving metadata of ERC20 tokens by their contract addresses.
Responses
200Returns the metadata information for the specified ERC20 tokens.
400Bad Request
404Not Found
429Too Many Requests
500Internal Server Error
curl --request POST \
--url 'https://site1.moralis-nodes.com/eth/YOUR_API_KEY' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_getTokenMetadata"
}
'
Response Example
{
"jsonrpc": "2.0",
"id": 1,
"result": [
""
]
}