get ERC20 Balance - Enhanced APIs

Retrieve erc20 token balance.

This endpoint is supported on the following chains and networks:

  • Conflux: Core
  • Ethereum

Parameters

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

Returns

  • balance: [string] the balance of erc20 token

Example

Request

curl --location --request GET 'https://eth-mainnet.unifra.io/v1/de06bac5217b49c3af79fd3aeb06a87b/enhanced-api/erc20/0xdAC17F958D2ee523a2206206994597C13D831ec7/balance?account=0x22fff189c37302c02635322911c3b64f80ce7203'

Response

{
    "balance": "2055242290358"
}
Language
Click Try It! to start a request and see the response here!