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
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
}JSON-RPC request
Was this page helpful?