Skip to content

Conversation

@JulianVentura
Copy link
Contributor

Add fee_per_proof average to the data endpoint

Description

This PR adds the fee_per_proof average on all verified proofs of the last 24 hours on the /data/last_verified_proofs endpoint.

Type of change

Please delete options that are not relevant.

  • New feature
  • Bug fix
  • Optimization
  • Refactor

Checklist

  • “Hotfix” to testnet, everything else to staging
  • Linked to Github Issue
  • This change depends on code or research by an external entity
    • Acknowledgements were updated to give credit
  • Unit tests added
  • This change requires new documentation.
    • Documentation has been added/updated.
  • This change is an Optimization
    • Benchmarks added/run
  • Has a known issue
  • If your PR changes the Operator compatibility (Ex: Upgrade prover versions)
    • This PR adds compatibility for operator for both versions and do not change batcher/docs/examples
    • This PR updates batcher and docs/examples to the newer version. This requires the operator are already updated to be compatible

@JulianVentura JulianVentura linked an issue Jan 6, 2025 that may be closed by this pull request
@avilagaston9 avilagaston9 marked this pull request as ready for review January 6, 2025 21:37
Copy link
Contributor

@MauroToscano MauroToscano left a comment

Choose a reason for hiding this comment

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

Formula is wrong, it should average, but we can do it in another PR

@JuArce JuArce merged commit a25f012 into testnet Jan 6, 2025
1 check passed
@JuArce JuArce deleted the 1712-featexplorer-add-avg-price-to-api-endpoints branch January 6, 2025 22:11
PatStiles pushed a commit that referenced this pull request Jan 9, 2025
PatStiles pushed a commit that referenced this pull request Jan 10, 2025
PatStiles pushed a commit that referenced this pull request Jan 10, 2025
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.

feat(explorer): add avg price to /api endpoints

7 participants