eth_getAssetBalance
In addition to the standard Ethereum APIs, Avalanche offers eth_getAssetBalance to retrieve the balance of first class Avalanche Native Tokens on the C-Chain (native AVAX needs eth_getBalance)
Parameters:
address
- string - The owner of the asset
blk
- string - The block number or hash which to retrieve the balance.
assetID
- string - The id of the asset for which the balance is requested.
Returned Value:
result
- int - The balance of an asset.
Last updated