fungible-systems / micro-stacks

Tiny libraries for building the next generation of Stacks apps.
https://micro-stacks.dev
MIT License
82 stars 15 forks source link

fix: pass tip option to read-only api #82

Closed hstove closed 2 years ago

hstove commented 2 years ago

Adds the tip query parameter to read-only API calls. tip was already a parameter to the callReadOnlyFunction function, but it wasn't actually passed to the API call.

stacks-node recently added support for ?tip=latest to query at the most recent microblock, making this all the more helpful.

changeset-bot[bot] commented 2 years ago

🦋 Changeset detected

Latest commit: e3a0ba2855962e5ba279243222c878db9fa1abc5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------------ | ----- | | micro-stacks | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR