Parameters
- addressesarrayREQUIRED
An array of addresses
- limitinteger
The limit ofUTXOs to return. If limit is omitted or greater than 1024, it is set to 1024
- sourceChainstringREQUIRED
The source chain to retrieve UTXOs from. Used for cross-chain transfers
- encodingstring
The encoding format to use. Only hex is supported when a value is provided
- startIndexobject
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
- addressstring
The starting address for pagination
Returns
- resultobject
The result of the UTXO query
- numFetchedstring
The number of UTXOs fetched
- utxosarray
The list of UTXOs returned by the query
- endIndexobject
The end index for the UTXO fetching process
- addressstring
The address for the end index
- utxostring
The UTXO ID for the end index
- encodingstring
The encoding format used for the UTXOs
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"numFetched": "0",6"utxos": [],7"endIndex": {8"address": "C-flare1ljm5j7ku39shkern8peyg223axa9m0z30cl63c",9"utxo": "11111111111111111111111111111111LpoYY"10},11"encoding": "hex"12}13}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"numFetched": "0",6"utxos": [],7"endIndex": {8"address": "C-flare1ljm5j7ku39shkern8peyg223axa9m0z30cl63c",9"utxo": "11111111111111111111111111111111LpoYY"10},11"encoding": "hex"12}13}