you_getDelegationSettleData
描述:构造并返回委托人主动结算奖励的交易数据
parameter
参数名 | 类型 | 描述 |
---|---|---|
toValidator | string | validator的mainAddress |
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_getDelegationSettleData","params":["0x8E036959E057F0df5FFa0211A2548194C6Cb08FF"]}'
Response:
{
"jsonrpc": "2.0",
"id": 1,
"result": "0xd81896d5948e036959e057f0df5ffa0211a2548194c6cb08ff"
}