@exodus/bytes
    Preparing search index...
    • Decode a base58check string to bytes synchronously

      Validates the checksum using double SHA-256

      Parameters

      • string: string

        The base58check encoded string

      • Optionalformat: "uint8"

        Output format (default: 'uint8')

      Returns Uint8Array

      The decoded bytes

    • Decode a base58check string to bytes synchronously

      Validates the checksum using double SHA-256

      Parameters

      • string: string

        The base58check encoded string

      • format: "buffer"

        Output format (default: 'uint8')

      Returns Buffer

      The decoded bytes

    • Decode a base58check string to bytes synchronously

      Validates the checksum using double SHA-256

      Parameters

      • string: string

        The base58check encoded string

      • Optionalformat: OutputFormat

        Output format (default: 'uint8')

      Returns Uint8Array<ArrayBuffer> | Buffer<ArrayBufferLike>

      The decoded bytes