Skip to content

eth_newPendingTransactionFilter

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

EXAMPLE

>wscat -c wss://mainnet.backbonecabal.xyz/ws

>{"jsonrpc":"2.0","method":"eth_newPendingTransactionFilter","params":[],"id":73}

RESPONSE

RESULT FIELDS

  • FILTER ID - A string denoting the newly created filter id

BODY

{
  "jsonrpc": "2.0",
  "id": 73,
  "result": "0xfe704947a3cd3ca12541458a4321c869"
}
Back to top