eth_newFilter

Xlayer API - Creates a filter object, based on filter options, to notify when the state changes (logs). Unlike eth_newBlockFilterwhich notifies you of all new blocks, you can pass in filter options t

Path Params
string
required
Body Params
string
required
Defaults to 2.0
string
enum
required
Defaults to eth_getLogs
Allowed:
params
array
length between 0 and 1

Per method: getFilterChanges/getFilterLogs/uninstallFilter: [filterId]; newPendingTransactionFilter/newBlockFilter: []; newFilter: [filterObject]; getLogs: [filterObject].

params
int32
required
Defaults to 0
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json