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. The API credit value for this method is 2.

  1. Parameters- This method does not accept any parameters

curl https://Krypc-End Point URL/ \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","method":"eth_newPendingTransactionFilter","params":[],"id":67}'
  1. Returns

    result- A filter id to be used when calling eth_getFilterChanges

Last updated