eth_newPendingTransactionFilter - Ethereum
eth_newPendingTransactionFilter on Ethereum: creates a filter that collects the hashes of transactions entering the mempool. Parameters, response and request example for the RPC Fast endpoint.
Creates a filter that collects the hashes of transactions entering the mempool.
Parameters
None.
Returns
Filter ID. Poll it with eth_getFilterChanges.
Example
Request
curl https://eth-mainnet.rpcfast.com/?api_key=<API_KEY> \
-X POST -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_newPendingTransactionFilter","params":[]}'Response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x6974193874533eb0f1d65a73ad555f5a"
}See Compute Units for the price of this method on Ethereum.
Last updated