The Graph.
Iniciar sesión

如何处理子图中的匿名事件

Discusión
  • INDEXERS

我该怎么做?我应该如何制作清单以处理匿名事件?

Agregar comentario

Respuestas1

You can initialize your subgraph with the ERC-20 contract you want to map, then modify your handleTransferEvent function to check the current block number before continuing. You can get the block number by calling event.block.number.

Agregar comentario

Sabes la respuesta?

Please log in and share it.

Iniciar sesión