Token APIs

Supported Network

Network
Value
Ethereum ( Mainnet )
1
Goerli ( Testnet ) - coming soon
5
Polygon ( Mainnet )
137
Mumbai ( Testnet ) - coming soon
80001
Ronin ( Mainnet ) - coming soon
2020

Token Balance

To query available tokens and their balance of a wallet for ERC20 tokens.
GET '/api/token/{contractAddress}/balance?walletAddress={walletAddress}&network={network}'
// Example
GET '/api/token/0xc2132d05d31c914a87c6611c10748aeb04b58e8f/balance?walletAddress=0x60d55f02a771d515e077c9c2403a1ef324885cec&network=137'
Key
Description
walletAddress
Wallet address of the user for which the token balance is queried.
contractAddress
Contract address of the tokens.

Token Transaction History

Get in and out transactions of a token over a wallet address.
GET '/api/token/{contractAddress}/transactions?walletAddress={walletAddress}&network={network}'
//Example
GET '/api/token/0xc2132d05d31c914a87c6611c10748aeb04b58e8f/transactions?walletAddress=0x6Fe489d80a48CAF7472cD45f4258b9FfB5208E3C&network=137'
Key
Value
contractAddress
Contract address of the tokens.
walletAddress
Wallet address of the user for which the token balance is queried.

Token Price

Price of a token for a given contract address.
GET '/api/token/{contractAddress}/price?network={network}'
//Example
GET '/api/token/0x1f9840a85d5af5bf1d1762f925bdaddc4201f984/price?network=1'
Key
Value
contractAddress
Contract address of the tokens.

Native Token Balance

Native token balance of a wallet address for a given network.
GET '/api/token/native/balance?walletAddress={walletAddress}&network={network}'
//Example
GET '/api/token/native/balance?walletAddress=0x6Fe489d80a48CAF7472cD45f4258b9FfB5208E3C&network=137'
Key
Value
walletAddress
Wallet address of the user.

Token Info

Get Token contract info like Name, Symbol e.t.c.
GET '/api/token/{contractAddress}/info?network={network}'
//Example
GET '/api/token/0xc2132d05d31c914a87c6611c10748aeb04b58e8f/info?network=137'
Key
Value
contractAddress
Contract address of the tokens.

Token Allowance

Get Token allowances for a spender of a wallet.
GET '/api/token/{contractAddress}/allowance?network={network}&walletAddress={walletAddress}&spender={spender}'
//Example
GET '/api/token/0xc2132d05d31c914a87c6611c10748aeb04b58e8f/allowance?network=137&walletAddress=0x6Fe489d80a48CAF7472cD45f4258b9FfB5208E3C&spender=0x5F94976FB4b43fe154a642BAbC7e33dFCE260D70'
Key
Value
contractAddress
Contract address of the tokens.
walletAddress
Wallet address of the user.
spender
Wallet address of the spender.

Token List

Get tokens available and their balance for a given wallet
GET '/api/token/portfolio?network={network}&walletAddress={walletAddress}'
//Example
GET '/api/token/portfolio?network=137&walletAddress=0x6fe489d80a48caf7472cd45f4258b9ffb5208e3c'
Key
Value
walletAddress
Wallet address of the user.