you_newPendingTransactionFilter

描述:在节点中创建一个过滤器,以便当产生挂起交易时进行通知。 要检查状态是否发生变化, 请调用 you_getFilterChanges

return

数据类型 备注
String 过滤器编号

example

Request:

curl -X POST \
  http://127.0.0.1:8283 \
  -H 'Content-Type: application/json' \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "you_newPendingTransactionFilter",
    "params": []
}'

Response:

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x5826e062d0092cfb9f317bc3199e55f9"
}