cURL
curl --request POST \ --url 'https://api.avax.network/ext/bc/P#platform.getRewardUTXOs' \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "method": "platform.getRewardUTXOs", "params": {}, "id": 1 } '
{ "jsonrpc": "2.0", "result": { "numFetched": "1000000000", "utxos": [ "<string>" ], "encoding": "hex" }, "id": 1 }
GetRewardUTXOs returns the UTXOs that were rewarded after the provided transaction’s staking period ended.
JSON-RPC request
"2.0"
"platform.getRewardUTXOs"
Method parameters
Show child attributes
Transaction ID
Encoding format
hex
json
1
Successful response
Method result
Unsigned 64-bit integer as string
"1000000000"
"hex"
Was this page helpful?