Skip to main content

platform.getRewardUtxOs RPC Method

Returns the UTXOs that were rewarded after the provided transaction's staking or delegation period ended.

Updated on
Dec 4, 2024

platform.getRewardUtxOs RPC Method

Parameters

txID
string
The ID of thestaking or delegating transaction.
encoding
string
Specifies the format for the returned UTXOs. Can only be "hex" when a value is provided.

Returns

numFetched
integer
The number of returned UTXOs
utxos
array
The array of encoded reward UTXOs
encoding
string
Specifies the format for the returned UTXOs. Can only be hex when a value is provided
Request
1
curl --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.getRewardUTXOs",
7
"params" :{
8
"txID":"2nmH8LithVbdjaXsxVQCQfXtzN9hBbmebrsaEYnLM9T32Uy2Y4",
9
"encoding": "hex"
10
}
11
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free