Skip to content
This repository was archived by the owner on Nov 11, 2022. It is now read-only.

Etherscan FETCH_TRANSACTIONS cache #97

Open
leovigna opened this issue Feb 7, 2022 · 0 comments
Open

Etherscan FETCH_TRANSACTIONS cache #97

leovigna opened this issue Feb 7, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request web3-redux

Comments

@leovigna
Copy link
Collaborator

leovigna commented Feb 7, 2022

Find a solution to cache the FETCH_TRANSACTIONS request and update relevant values using middleware.

  • BLOCK/SET/TIMESTAMP: The Etherscan tx indexing API returns the block timestamp which we can update without having to fetch the block
  • Transaction.meta add metadata on latestBlockNumber: {[networkId-address]: <value>} which tracks the max blocknumber a tx from/to address was recorded. This can then be used to update FETCH_TRANSACTIONS request to fetch from latestBlockNumber as the block range.
@leovigna leovigna added the enhancement New feature or request label Feb 7, 2022
@leovigna leovigna self-assigned this Feb 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request web3-redux
Projects
None yet
Development

No branches or pull requests

1 participant