get ERC20 Metadata - Enhanced APIs

Retrieve erc20 metadata for a token address.

This endpoint is supported on the following chains and networks:

  • Conflux: Core
  • Ethereum

Parameters

  • address: [string] erc20 token address(required)

Returns

  • address: [string] erc20 token contract address
  • name: [string] erc20 token name
  • symbol: [string] erc20 token symbol
  • decimals: [int]

Request

curl --location --request GET 'https://eth-mainnet.unifra.io/v1/de06bac5217b49c3af79fd3aeb06a87b/enhanced-api/erc20/0xdAC17F958D2ee523a2206206994597C13D831ec7/metadata'

Response

{
    "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
    "name": "Tether USD",
    "symbol": "USDT",
    "decimals": 6
}
Language
Click Try It! to start a request and see the response here!