Interface implemented by multibase decoder, that takes multibase strings to bytes. It may support single encoding like base32 or multiple encodings like base32, base58btc, base64. If passed multibase is incompatible it will throw an exception.

Type Parameters

  • Prefix extends string

Hierarchy

Implemented by

Properties

Methods

Properties

decoders?: null
prefix: Prefix

Methods

  • Decodes multibase string (which must have a multibase prefix added). If prefix does not match

    Parameters

    Returns Uint8Array

Generated using TypeDoc