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

Add filtering capability to activity endpoints #59

Open
Th0rgal opened this issue Jan 22, 2025 · 0 comments
Open

Add filtering capability to activity endpoints #59

Th0rgal opened this issue Jan 22, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@Th0rgal
Copy link

Th0rgal commented Jan 22, 2025

Is your feature request related to a problem? Please describe.
I'm using the Runes Activity endpoint to track all transactions within a block. However, I encounter performance issues due to the high number of activities per block (500-1000 pages). Since the API currently returns all transaction types, I need to manually filter the results on my end, which leads to excessive API calls and rate limiting.

Describe the solution you'd like
I would like to have filtering capabilities added to the Runes Activity endpoint. Specifically, the ability to filter results based on transaction types, such as:

Include only "receive" transactions
Exclude "send" and other transaction types that are not relevant to my use case

Describe alternatives you've considered
Currently, the only alternative is to retrieve all data and manually filter it on the client side, but this is inefficient and quickly reaches API rate limits. While upgrading to a higher API limit may help, built-in filtering would optimize both API usage and performance.

Additional context
I plan to use this functionality to build a Runes bridge between Bitcoin and Starknet. Having a filtering feature would significantly enhance the efficiency of data processing and API usage.

@Th0rgal Th0rgal added the enhancement New feature or request label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant