Rewards
platform.getRewardUTXOs
GetRewardUTXOs returns the UTXOs that were rewarded after the provided transaction's staking period ended.
JSON-RPC request
jsonrpcstring
methodstring
params
Method parameters
idinteger
Response Body
application/json
application/json
curl -X POST "https://api.avax.network/ext/bc/P#platform.getRewardUTXOs" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "method": "platform.getRewardUTXOs", "params": {}, "id": 1 }'{
"jsonrpc": "2.0",
"result": {
"numFetched": "1000000000",
"utxos": [
"string"
],
"encoding": "hex"
},
"id": 1
}{
"jsonrpc": "2.0",
"error": {
"code": 0,
"message": "string",
"data": {}
},
"id": 1
}Is this guide helpful?