Skip to content

Extend Log type with optional timestamp property #5012

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

krikera
Copy link

@krikera krikera commented Jun 28, 2025

Description

Adds optional timestamp property to Log type to support Geth v1.16.0+ eth_getLogs responses that now include block timestamps.

Changes

  • Added timestamp?: number to LogParams interface
  • Updated log formatters to handle timestamp field
  • Updated Log class with timestamp property and JSON serialization

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extend Log type with optional timestamp property ( from Geth eth_getLogs )
1 participant