Buscar
Estás en modo de exploración. debe iniciar sesión para usar MEMORY

   Inicia sesión para empezar


Por supuesto:

Solidity 2022

» Iniciar este curso
(Practica preguntas similares gratis)
Pregunta:

How to query past events and filter their time range?

Autor: kotrotko



Respuesta:

We can query past events using getPastEvents, and use the filters fromBlock and toBlock to give Solidity a time range for the event logs ("block" in this case referring to the Ethereum block number).


0 / 5  (0 calificaciones)

1 answer(s) in total