Get the number of fungible tokens that a blockchain address holds in a smart contract
/v3/blockchain/token/balance/{chain}/{contractAddress}/{address}
1 credit per API call
Get the number of the fungible tokens minted on a specific smart contract (the contractAddress path parameter in the request endpoint URL) that a blockchain address holds.
This API is supported for the following blockchains:
- Algorand
- BNB Smart Chain
- Celo
- Elrond
- Ethereum
- Harmony
- Klaytn
- KuCoin Community Chain
- Polygon
- Solana
- XinFin
- Flare
- Cronos
- Base
- Avalanche
- Fantom
- Optimism
Request
- Base URLhttps://api.tatum.io
- URLhttps://api.tatum.io/v3/blockchain/token/balance/{chain}/{contractAddress}/{address}
- AuthAPI key in header x-api-key
Path parameters
Network name
The blockchain address that you want to get the token balance of
The address of the fungible token smart contract
Query parameters
Specifies the testnet type. The default is ethereum-sepolia for Ethereum (ETH) currency and flare-coston for Flare (FLR) currency. Valid testnet types depend on the specified currency.
Type of testnet in query. The default type is based on the currency: ethereum-sepolia for ETH, and flare-coston for FLR. This parameter is valid only for ETH or FLR invocations with a testnet API Key. For mainnet API Key, this value is ignored. The currency/chain must be specified to determine the applicable set of testnet types.
Headers
Type of testnet in header. The default type is based on the currency: ethereum-sepolia for ETH, and flare-coston for FLR. This parameter is valid only for ETH or FLR invocations with a testnet API Key. For mainnet API Key, this value is ignored. The currency/chain must be specified to determine the applicable set of testnet types.
Response
OK
Example response
{
"balance": "10"
}Changes
No recorded changes to this operation across all 1 revision of this API.