Creates a new middleware from an API key.
Creates a new network fetching function, which combines an optional fetch-compatible library with optional middlware.
Get fetch options
Sets global fetch options for stacks.js network calls.
global fetch options after merging with previous options (or defaults)
Calculate the base64 encoded string length for a given input length. This is equivalent to the byte length when the string is ASCII or UTF8-8 encoded.
Converts hex input string to bigint
hex input string without 0x prefix and in big endian format
Generated using TypeDoc
@stacks/common
Common utilities used by Stacks.js packages.
Installation