parity_unsignedTransactionsCount - 获取未签名交易数量
当使用可信签名器时,parity_unsignedTransactionsCount
调用返回未签名交易的数量,
否则返回错误对象。
调用参数
无
返回结果
parity_unsignedTransactionsCount
调用返回未签名交易的数量。
示例代码
请求:
~$ curl --data '{"method":"parity_unsignedTransactionsCount","params":[],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8545
响应:
{
"id": 1,
"jsonrpc": "2.0",
"result": 0
}