We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Turns out micro-stacks has wrappers for the Stacks API!
This means functions like getStacksBlockHeight() in /lib/stacks.ts could use fetchCoreApiInfo() https://docs.micro-stacks.dev/modules/core/api/info#fetchcoreapiinfo
getStacksBlockHeight()
/lib/stacks.ts
fetchCoreApiInfo()
It's a small change but would lead to more consistency with using the library and features. No need to reinvent the wheel.
Will need to double-check the error flows to make sure all exceptions are caught in the right places.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Turns out micro-stacks has wrappers for the Stacks API!
This means functions like
getStacksBlockHeight()
in/lib/stacks.ts
could usefetchCoreApiInfo()
https://docs.micro-stacks.dev/modules/core/api/info#fetchcoreapiinfo
It's a small change but would lead to more consistency with using the library and features. No need to reinvent the wheel.
Will need to double-check the error flows to make sure all exceptions are caught in the right places.
The text was updated successfully, but these errors were encountered: