Internalapi

The Serializer is used to serialize / deserialize JSON objects and encode them with bs58check

Hierarchy

  • Serializer

Constructors

Methods

Constructors

Methods

  • Deserialize a bs58check encoded string

    Parameters

    • encoded: string

      String to be deserialized

    Returns Promise<unknown>

  • Serialize and bs58check encode an object

    Parameters

    • message: unknown

      JSON object to serialize

    Returns Promise<string>

Generated using TypeDoc