Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TransactionURI<T>

Type parameters

  • T

Hierarchy

  • TransactionURI

Implements

Index

Constructors

constructor

  • new TransactionURI(data: string, transactionMapper: ITransactionMapper<T>, generationHash?: undefined | string, nodeUrl?: undefined | string, webhookUrl?: undefined | string): TransactionURI
  • Create a TransactionURI.

    Parameters

    • data: string

      Transaction payload.

    • transactionMapper: ITransactionMapper<T>
    • Optional generationHash: undefined | string

      Network generation hash.

    • Optional nodeUrl: undefined | string

      Node url to submit the transaction.

    • Optional webhookUrl: undefined | string

      URL to make a POST request after announcing the transaction.

    Returns TransactionURI

Properties

Readonly data

data: string

Transaction payload.

Optional Readonly generationHash

generationHash: undefined | string

Network generation hash.

Optional Readonly nodeUrl

nodeUrl: undefined | string

Node url to submit the transaction.

Readonly transactionMapper

transactionMapper: ITransactionMapper<T>

Optional Readonly webhookUrl

webhookUrl: undefined | string

URL to make a POST request after announcing the transaction.

Static Readonly ACTION

ACTION: string = "transaction"

Static Readonly PROTOCOL

PROTOCOL: string = "web+symbol://"

Methods

build

  • build(): string

toTransaction

  • toTransaction(): T

Static fromURI

Generated using TypeDoc