avax.getUTXOs {disallowed} - Avalanche
Example code for the avax.getUTXOs {disallowed} json-rpc method. Сomplete guide on how to use avax.getUTXOs {disallowed} json-rpc in GetBlock.io Web3 documentation.
Parameters
addresses
- list
is a list of UTXOs such that each UTXO references at least one address in addresses.
limit
- int
Optional.
startIndex
- map
Optional.
When using pagination (ie when startIndex is provided), UTXOs are not guaranteed to be unique across multiple calls. That is, a UTXO may appear in the result of the first call, and then again in the second call.
When using pagination, consistency is not guaranteed across multiple calls. That is, the UTXO set of the addresses may have changed between calls.
Map format: {address: string; uxto: string}
sourceChain
- string
source Chain
encoding
- string
Optional.
encoding sets the format for the returned UTXOs. Can be either "cb58" or "hex". Defaults to "cb58".
Request
Response
Last updated