Thruput TypeScript protocol bindings
    Preparing search index...
    • Decode base58 with an explicit maximum byte length, preserving leading zeros.

      Accepts empty text, rejects whitespace and characters outside the alphabet, and does not interpret prefixes or other encodings. The byte limit must be a nonnegative safe integer. Callers enforce any exact identifier width.

      Errors omit the supplied text. Conversion has quadratic cost: use a small byte limit appropriate to the field when decoding untrusted input.

      Parameters

      • text: string
      • maxBytes: number

      Returns Uint8Array