Check out our new component library - build.abs.xyz!
cURL
curl --request POST \ --url https://api.mainnet.abs.xyz/eth_newPendingTransactionFilter \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": 1, "method": "eth_newPendingTransactionFilter", "params": [] }'
{ "jsonrpc": "2.0", "result": "0xb415d4b0e6ca750802be8c84c99a68170deeb9ed09c4e2eb0dc5299ab715e978", "id": 1 }
Creates a filter to notify when new pending transactions arrive
JSON-RPC version
The method to call
Request identifier
No parameters
Returns the filter ID
"2.0"
1
The filter ID
"0xb415d4b0e6ca750802be8c84c99a68170deeb9ed09c4e2eb0dc5299ab715e978"
Was this page helpful?