-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add requiredBlock to querySubgraph
you can now pass a requiredBlock to querySubgraph, if provided, it will check the block number of the subgraph response if the subgraph is behind the required block, it will wait and make 2 more attempts to get the latest block if the subgraph is still behind, an error will be thrown ths requiredBlock parameter is optional and if omitted, it will work exactly as before currently not being used within nftx.js methods internally but this provision means it can be added in the future
- Loading branch information
1 parent
a1b550f
commit eb5762e
Showing
2 changed files
with
236 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters