Evolution SDK

Bech32.ts

Bech32 overview


Table of contents


utils

Bech32 (type alias)

Signature

export type Bech32 = typeof Bech32Schema.Type

Bech32Schema

Signature

export declare const Bech32Schema: typeof Schema.String

FromBytes

Signature

export declare const FromBytes: (
  prefix?: string
) => Schema.transformOrFail<typeof Schema.Uint8ArrayFromSelf, typeof Schema.String, never>

FromHex

Signature

export declare const FromHex: (
  prefix?: string
) => Schema.transform<
  Schema.Schema<Uint8Array, string, never>,
  Schema.transformOrFail<typeof Schema.Uint8ArrayFromSelf, typeof Schema.String, never>
>