Skip to content

feat: calculate price for rate limits #2481

@danisharora099

Description

@danisharora099

Description

We are now offering two rate limit options to the users:

  • standard: 300 messages/epoch
  • max: 600 messages/epoch

With these options, the quantitative difference is not clear in terms of the token spend.

Screenshot 2025-07-14 at 4 52 45 PM

User Story

As a user, as I select a particular rate limit, I should be able to know how much token spend selecting a rate limit implies

Proposed Solution / Feature Design

Use PriceCalculator.calculate(rateLimit) in @waku/rln

Notes

Metadata

Metadata

Labels

No labels
No labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions