Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RequestCosignatureDataSchema describes a transaction cosignature request QR code data schema.

since

0.3.0

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Readonly VERSION

VERSION: 3 = 3

The AccountQR QR Code version

var

{number}

Methods

getData

  • The getData() method returns an object that will be stored in the data field of the underlying QR Code JSON content.

    Parameters

    Returns any

toObject

Static parse

  • Parse a JSON QR code content into a CosignatureQR object.

    throws

    {Error} On empty json given.

    throws

    {Error} On missing type field value.

    throws

    {Error} On unrecognized QR code type field value.

    Parameters

    • json: string
    • transactionCreateFromPayload: (payload: string) => ITransaction

      the transaction parser that creates a transaction from a binary payload.

    Returns CosignatureQR

Generated using TypeDoc