Granite Upgrade Activates in12d:17h:00m:50s
Eth

eth_newPendingTransactionFilter

Creates a filter in the node, to notify when new pending transactions arrive.

⚠️ Note: Filter methods may not be available or may have limited functionality on public RPC endpoints as they require server-side state management.

POST
/ext/bc/C/rpc#eth_newPendingTransactionFilter

JSON-RPC request

jsonrpcstring
methodstring
paramsarray<unknown>
idinteger

Response Body

application/json

application/json

curl -X POST "https://api.avax.network/ext/bc/C/rpc#eth_newPendingTransactionFilter" \  -H "Content-Type: application/json" \  -d '{    "jsonrpc": "2.0",    "method": "eth_newPendingTransactionFilter",    "params": [],    "id": 1  }'
{
  "jsonrpc": "2.0",
  "result": null,
  "error": {
    "code": 0,
    "message": "string",
    "data": null
  },
  "id": 1
}
{
  "jsonrpc": "2.0",
  "error": {
    "code": 0,
    "message": "string",
    "data": null
  },
  "id": 1
}

Is this guide helpful?