Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Serializer

Index

Constructors

Methods

Constructors

constructor

Methods

deserialize

  • deserialize(encoded: string): Promise<unknown>
  • Deserialize a bs58check encoded string

    Parameters

    • encoded: string

      String to be deserialized

    Returns Promise<unknown>

serialize

  • serialize(message: unknown): Promise<string>
  • Serialize and bs58check encode an object

    Parameters

    • message: unknown

      JSON object to serialize

    Returns Promise<string>

Generated using TypeDoc