Параметры
filterIdstringобязательный- ID returned by eth_newFilter or eth_newBlockFilter.
Возвращает
array All matching log objects.
addressstring- Contract that emitted the log.
topicsarray- Up to four indexed topics; topic 0 is the event signature hash.
datastring- Non-indexed event arguments, ABI-encoded.
blockNumberstring- Block number, hex.
transactionHashstring- Hash of the transaction that emitted the log.
logIndexstring- Position of the log in the block, hex.
removedboolean- true if the log was removed by a reorg.
Когда использовать
Read every log that matches a filter's criteria, for example right after creating it with a fromBlock.
Как читать ответ
Array of log objects, same as eth_getLogs.
Советы
- Large ranges behave like eth_getLogs and can hit result limits; keep fromBlock recent.