eth_newPendingTransactionFilter

Creates a filter in the node, to notify when new pending transactions arrive. To check if the state has changed, call eth_getFilterChanges.

Request

curl https://tn.henesis.io/ethereum/mainnet?clientId=<clientId> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_newPendingTransactionFilter","params":[],"id":73}'

Response

{
"id":1,
"jsonrpc": "2.0",
"result": "0x1" // 1
}

Parameters

none

Returns

QUANTITY - A filter id.

Reference

​https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_newpendingtransactionfilter​