Skip to main content

avm.getBalance RPC Method

Get the balance of an asset controlled by a given address.

Updated on
Nov 02, 2023

Parameters

address
string
REQUIRED

The owner of the asset.

assetID
string
REQUIRED

The ID of the asset for which the balance is requested.

Returns

balance
string

The balance given the address and assetID.

utxoIDs
array

An array of UTXO IDs (if applicable).

txID
string

The transaction ID of the UTXO.

outputIndex
integer

The output index of the UTXO.

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free