Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RequestTransactionDataSchema describes a transaction 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

toObject

Static parse

  • Parse a JSON QR code content into a TransactionQR 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 TransactionQR

Generated using TypeDoc