you_settleValidator
描述:构造并返回验证者主动触发奖励结算的交易数据
parameter
参数名 | 类型 | 描述 |
---|---|---|
mainAddress | string | mainPubKey 对应的共识地址 |
return
参数名 | 数据类型 | 备注 |
---|---|---|
data | string | rlp编码后的十六进制数据 |
example
Request:
curl -X POST \
http://127.0.0.1:8283 \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"you_settleValidator","params":["0x8E036959E057F0df5FFa0211A2548194C6Cb08FF"]}'
Response:
{
"jsonrpc": "2.0",
"id": 1,
"result": "0xda0698d7948e036959e057f0df5ffa0211a2548194c6cb08ff6480"
}