eth_get_asset_balance RPC Method
Parameters
address
String
The owner ofthe asset
blk
String
The blocknumber or hash which to retrieve the balance.
assetID
String
The id of theasset for which the balance is requested.
Returns
result
Int
The balance of anasset.
Request
1curl --location --request POST https://docs-demo.avalanche-mainnet.quiknode.pro/ext/bc/C/rpc/ext/bc/C/rpc \2--header 'Content-Type: application/json' \3--data-raw '{4"jsonrpc": "2.0",5"method": "eth_getAssetBalance",6"params": [7"0x8723e5773847A4Eb5FeEDabD9320802c5c812F46",8"latest",9"3RvKBAmQnfYionFXMfW5P8TDZgZiogKbHjM8cjpu16LKAgF5T"10],11"id": 112}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free