Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • TransactionURI

Implements

Index

Constructors

constructor

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

    Type parameters

    • T

    Parameters

    • data: string

      Transaction payload.

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

      Network generation hash.

    • Optional nodeUrl: string

      Node url to submit the transaction.

    • Optional webhookUrl: string

      URL to make a POST request after announcing the transaction.

    Returns TransactionURI<T>

Properties

Readonly data

data: string

Optional Readonly generationHash

generationHash?: string

Optional Readonly nodeUrl

nodeUrl?: string

Readonly transactionMapper

transactionMapper: ITransactionMapper<T>

Optional Readonly webhookUrl

webhookUrl?: string

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