avm.getBalance

Returns the balance of an asset from a given address

Parameters

String: address - The owner of the asset

String: assetID - The id of the asset for which the balance is requested.

Returns

Int: balance - The balance given the address and assetID.

Array: utxoIDs - An array of UTXO IDs (if applicable)

Language
Click Try It! to start a request and see the response here!