Skip to main content

avax.getUTXOs RPC Method

Get the UTXOs that reference a given address.

Updated on
Nov 02, 2023

Parameters

addresses
array of strings
REQUIRED

A list of addresses.

limit
integer

The limit of UTXOs to return. If limit is omitted or greater than 1024, it is set to 1024.

startIndex
object

If startIndex is omitted, it will fetch all UTXOs up to a limit. When using pagination (i.e 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.

address
string

The address to start the search from.

Returns

numFetched
string

Number of UTXOs fetched.

utxos
array

A list of UTXOs.

endIndex
object

Denotes the last UTXO returned. To get the next set of UTXOs, use the value of endIndex as startIndex in the next call.

address
string

The address at the end index.

utxo
string

The UTXO at the end index.

encoding
string

The encoding format used for the returned UTXOs.

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