ape-etherscan
ape-etherscan copied to clipboard
Integrate Rate Limit into Etherscan query engine `.estimate_query` method [APE-738]
trafficstars
Overview
Some queries are heavy via Etherscan API, so we will want to add rate limit logic to the query engine in order to bypass selecting it (or modify the request) so it doesn't fail with a EtherscanTooManyRequestsError
Specification
- [ ] Update
EtherscanQueryEngine.estimate_queryto factor in the rate limit - [ ] Update
EtherscanQueryEngine.perform_queryto respect the rate limit when performing queries
Dependencies
n/a