You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Relay API allows anyone to query data from the relay, such as gathering which blocks in the canonical chain included an execution payload offered by the given relay.
The API offers the ability to do this by slot, or by a range of slots. See here for more details.
Description
This repository does not include the request by a range of slots (bulk), which could reduce the amount of queries to the API. This not only lowers the load on the relay but reduces the possibility of being banned (the API could have DoS detection and label us as an attacker, for example). To do this, the same function could be copied and modified to use different parameters.
Those would be:
cursor
limit
I have implemented the feature already. If you wish to get this included I could open a pull request.
The text was updated successfully, but these errors were encountered:
Motivation
The Relay API allows anyone to query data from the relay, such as gathering which blocks in the canonical chain included an execution payload offered by the given relay.
The API offers the ability to do this by slot, or by a range of slots. See here for more details.
Description
This repository does not include the request by a range of slots (bulk), which could reduce the amount of queries to the API. This not only lowers the load on the relay but reduces the possibility of being banned (the API could have DoS detection and label us as an attacker, for example). To do this, the same function could be copied and modified to use different parameters.
Those would be:
cursor
limit
I have implemented the feature already. If you wish to get this included I could open a pull request.
The text was updated successfully, but these errors were encountered: