cURL
curl --request POST \ --url https://{network}.s.chainbase.online/v1/{api-key} \ --header 'Content-Type: application/json' \ --data '{ "id": 1, "jsonrpc": "2.0", "method": "eth_newPendingTransactionFilter", "params": [] }'
{ "id": 1, "jsonrpc": "2.0", "result": "<string>" }
Creates a pending transaction filter in the node. To check if the state has changed, call eth_getFilterChanges.
Parameters
None
Returns
QUANTITY
"demo"
1
"2.0"
Successful Response