eth
eth_newPendingTransactionFilter
POST
/
id
jsonrpc
method
params
curl --request POST \
--url https://rpc1.taurus.axiomesh.io/
Creates a filter in the node, to notify when new pending transactions arrive. To check if the state has changed, call eth_getFilterChanges.
Body
id
number
Serves as a unique identifier for the request
jsonrpc
string
Indicates the version of JSON-RPC being used
method
string
Represents the name of the remote procedure or method to be called
params
array
None
Response
id
number
Returns unique identifier for the request
jsonrpc
string
Returns the version of JSON-RPC being used.
filterId
string
A filter id
curl 'https://example-rpc.axiomesh.io' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc":"2.0",
"method":"eth_newPendingTransactionFilter",
"params":[],
"id":1
}'
{
"id":1,
"jsonrpc": "2.0",
"result": "0xc3ff65bb36e71e9c3fd6c362688c93e"
}
curl 'https://example-rpc.axiomesh.io' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc":"2.0",
"method":"eth_newPendingTransactionFilter",
"params":[],
"id":1
}'
{
"id":1,
"jsonrpc": "2.0",
"result": "0xc3ff65bb36e71e9c3fd6c362688c93e"
}