platform.getUtxOs RPC Method
Parameters
addresses
array
REQUIRED
List of addresses for which UTXOs are to be fetched
address
string
An address to fetch UTXOs for
limit
integer
(Optional) The maximum number of UTXOs to fetch
startIndex
object
(Optional) The starting index for fetching UTXOs
address
string
The starting address for fetching UTXOs
utxo
string
The UTXO ID at the starting index
sourceChain
string
(Optional) The source chain from which UTXOs are being fetched
encoding
string
(Optional) The encoding format for the UTXOs
Returns
result
object
The result containing the fetched UTXO information
numFetched
string
The number of UTXOs fetched
utxos
array
List of UTXOs in hexadecimal encoding
utxo
string
A single UTXO in hexadecimal format
endIndex
object
The end index for the UTXO fetching process
address
string
The address corresponding to the end index
utxo
string
The UTXO ID at the end index
encoding
string
The encoding format for the UTXOs
Request
1curl --location --request POST https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/P \2--header 'Content-Type: application/json' \3--data-raw '{4"jsonrpc":"2.0",5"id" :1,6"method" :"platform.getUTXOs",7"params" :{8"addresses":["P-flare1ljm5j7ku39shkern8peyg223axa9m0z30cl63c"],9"sourceChain": "X",10"limit": 5,11"encoding": "hex"12}13}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free