cURL
curl --request POST \ --url 'https://api.avax.network/ext/bc/P#platform.getUTXOs' \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "method": "platform.getUTXOs", "params": {}, "id": 1 } '
{ "jsonrpc": "2.0", "result": { "numFetched": 123, "utxos": [ "<string>" ], "endIndex": {}, "encoding": "<string>" }, "id": 1 }
GetUTXOs returns the UTXOs controlled by the given addresses
JSON-RPC request
"2.0"
"platform.getUTXOs"
Method parameters
Show child attributes
Addresses to get UTXOs for
Max number of UTXOs to return
Starting index for pagination
Chain to get UTXOs from
Encoding format
hex
json
1
Successful response
Method result
Number of UTXOs fetched
UTXOs
End index for pagination
Encoding format used
Was this page helpful?