eth_newFilter

'Creates a filter object based on filter options to enable notifications (logs) for state changes.' 'You can use the eth_getFilterChanges method to check whether the state of the filter has changed.'

Path Params
string
required
Defaults to public
.custom-style { color: #048FF4; }

For higher throughput, please create your own API key.

Body Params
integer
Defaults to 1
string
Defaults to 2.0
string
Defaults to eth_newFilter
params
array of objects
length between 1 and 1
Defaults to [object Object]
params
address
array of strings
Defaults to 0xfe7c30860d01e28371d40434806f4a8fcdd3a098

Contract address or a list of addresses from which logs should originate.

address
string
Defaults to 0x393925

String - Either the hex value of a block number OR block tags:

  1. block number (in hex) OR
  2. block tag (one of the following): * pending - A sample next block built by the client on top of latest and containing the set of transactions usually taken from local mempool. Intuitively, you can think of these as blocks that have not been mined yet. * latest - The most recent block in the canonical chain observed by the client, this block may be re-orged out of the canonical chain even under healthy/normal conditions. * earliest - The lowest numbered block the client has available. Intuitively, you can think of this as the first block created.
string
Defaults to 0x393926

String - Either the hex value of a block number OR block tags:

  1. block number (in hex) OR
  2. block tag (one of the following): * pending - A sample next block built by the client on top of latest and containing the set of transactions usually taken from local mempool. Intuitively, you can think of these as blocks that have not been mined yet. * latest - The most recent block in the canonical chain observed by the client, this block may be re-orged out of the canonical chain even under healthy/normal conditions. * earliest - The lowest numbered block the client has available. Intuitively, you can think of this as the first block created.
topics
array of strings
Defaults to 0x2bd2d8a84b748439fd50d79a49502b4eb5faa25b864da6a9ab5c150704be9a4d

An array of 32-byte. Topics are order-dependent.

topics
Response

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