eth_newPendingTransactionFilter

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

Parameters

None.

Sample Request

curl https://lb.nodies.app/v1/<INSERT URL> \
   -H "x-api-key: <API-KEY>" \
   -X POST \
   -H "Content-Type: application/json" \
   -d '{ 
  "method": "eth_newPendingTransactionFilter",
  "params": [],
  "id": 1,
  "jsonrpc": "2.0"
}'

Sample Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x9306000000000000370cf7050ab570cb"
}

Last updated