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

      Validates the checksum using double SHA-256

      Parameters

      • string: string

        The base58check encoded string

      • Optionalformat: "uint8"

        Output format (default: 'uint8')

      Returns Promise<Uint8Array<ArrayBuffer>>

      A Promise that resolves to the decoded bytes

    • Decode a base58check string to bytes asynchronously

      Validates the checksum using double SHA-256

      Parameters

      • string: string

        The base58check encoded string

      • format: "buffer"

        Output format (default: 'uint8')

      Returns Promise<Buffer<ArrayBufferLike>>

      A Promise that resolves to the decoded bytes

    • Decode a base58check string to bytes asynchronously

      Validates the checksum using double SHA-256

      Parameters

      • string: string

        The base58check encoded string

      • Optionalformat: OutputFormat

        Output format (default: 'uint8')

      Returns Promise<Uint8Array<ArrayBuffer> | Buffer<ArrayBufferLike>>

      A Promise that resolves to the decoded bytes