跳到主要内容

cfx_getPoSRewardByEpoch

Params

(1)

1. epoch (required)

(one of)
string
Match pattern:
^0x([1-9a-f][0-9a-f]{0,15}|0)$

Result

(cfx_getPoSRewardByEpoch_result)
object or null

Examples

Request

curl -X POST --data \
'{
"method": "cfx_getPoSRewardByEpoch",
"params": [
"0x4350b21"
],
"jsonrpc": "2.0",
"id": 1
}' \
-H "Content-Type: application/json" \
localhost:12539

Result

null

Endpoint

Params

epoch


Request

curl -X POST --data \
'{
"method": "cfx_getPoSRewardByEpoch",
"params": [
null
],
"jsonrpc": "2.0",
"id": 1
}' \
-H "Content-Type: application/json" \
https://test.confluxrpc.com