Skip to content

Feature: use micro-stacks API wrappers #40

@whoabuddy

Description

@whoabuddy

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

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions