curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "avm.getAllBalances",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Get the balances of all assets controlled by a given address. (caution Deprecated as of v1.9.12.)
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "avm.getAllBalances",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
avm.getAllBalances:params.assetID: The ID of the asset for which the information is requested.curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "avm.getAllBalances",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Was this page helpful?