Skip to main content

Parameters

filter
object
required
Filter options

Returns

filterId
string
Filter ID for use with eth_getFilterChanges

Example

curl -X POST "https://edge.goldsky.com/standard/evm/1?secret=YOUR_SECRET" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "method": "eth_newFilter", "params": [{"fromBlock": "latest", "toBlock": "latest"}], "id": 1}'