curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "platform.getRewardUTXOs",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Returns the UTXOs that were rewarded after the provided transaction`s staking or delegation period ended. (Caution Deprecated as of v1.9.12)
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "platform.getRewardUTXOs",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
platform.getRewardUTXOs:params.txID: ID of the staking or delegating transaction.params.encoding: Format for returned UTXOs. Only “hex” is supported if provided.curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "platform.getRewardUTXOs",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Was this page helpful?