Skip to content
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

Extend Opera-specific API calls #306

Merged
merged 7 commits into from
May 12, 2022

Conversation

uprendis
Copy link
Collaborator

  • Add epoch number into header/block API output
  • Add abft_getValidators API for retrieving validator weights and public keys
  • Add ftm_getRules API call for retrieving network rules (e.g. throughput limits or upgrades activation status)
  • Add ftm_getEpochBlock API call for retrieving block height in a beginning of an epoch

Copy link
Contributor

@hadv hadv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, it's a bit confuse when using rpc.BlockNumber for epoch but we already used it as it is before.

ethapi/api.go Outdated Show resolved Hide resolved
@uprendis uprendis merged commit a7fbcde into Fantom-foundation:develop May 12, 2022
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.

None yet

3 participants