Parameters
chainId
string
default:"43113"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"avm.getAllBalances"
required
JSON-RPC method name.
Parameters for avm.getAllBalances:params.assetID: The ID of the asset for which the information is requested.
Returns
The JSON-RPC result.
Human-readable name of the asset. Not necessarily unique.
Symbol representing the asset.
Denomination for user display purposes. E.g., 9 means 1000000000 = 1 AVAX.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43113 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "avm.getAllBalances",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}