parity_postSign - 请求签名指定的消息
parity_postSign
调用请求指定账户签名一个标准以太坊消息。
调用参数
- 用来签名的账户地址
- 要签名的以太坊消息
返回结果
parity_postSign
调用返回请求ID。
示例代码
请求:
~$ curl --data '{"method":"parity_postSign","params":["0xb60e8dd61c5d32be8058bb8eb970870f07233155","0x414243"],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8545
响应:
{
"id": 1,
"jsonrpc": "2.0",
"result": "0x1"
}