eth_newPendingTransactionFilter -polygon

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

Parameters

  • No parameters are needed.
curl https://polygon-mainnet-archive.allthatnode.com/8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj \
--request POST \
--header "Content-Type: application/json" \
--data '{
    "jsonrpc":"2.0",
    "id":1,
    "method":"eth_newPendingTransactionFilter",
    "params":[]
}'

Returns

  • QUANTITY - A filter id.
{"jsonrpc":"2.0","id":1,"result":"0x6029344a699d47eae486a3ddbbf4dfee"}

Try Yourself

Language
Click Try It! to start a request and see the response here!