Skip to main content

eth_getAssetBalance RPC Method

Loading...

Updated on
Dec 04, 2024

eth_getAssetBalance RPC Method

To use the eth_getAssetBalance method on the C-Chain, ensure that the end of your URL includes ext/bc/C/rpc.

Parameters

address
string
Loading...
blk
string
Loading...
assetID
string
Loading...

Returns

result
integer
Loading...
Request
1
curl --location --request POST https://docs-demo.flare-mainnet.quiknode.pro/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": 1
12
}'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free