Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • WebMode

Index

Constructors

  • new WebMode(algoSigner: AlgoSigner, chainName: string): WebMode

Properties

algoSigner: AlgoSigner
chainName: string

Methods

  • Execute single transaction or group of transactions (atomic transaction)

    Parameters

    • transactions: ExecParams[] | TransactionAndSign[]

      transaction parameters, atomic transaction parameters or TransactionAndSign object(SDK transaction object and signer parameters)

    Returns Promise<PendingTransactionResponse>

  • getSuggestedParams(userParams: TxParams): Promise<SuggestedParams>
  • sendAndWait(signedTxn: string): Promise<PendingTransactionResponse>
  • Send signed transaction to network and wait for confirmation

    Parameters

    • signedTxn: string

      Signed Transaction blob encoded in base64

    Returns Promise<PendingTransactionResponse>

  • sendGroupTransaction(signedTxs: any): Promise<JsonPayload>
  • signTransaction(txns: WalletTransaction[]): Promise<JsonPayload>
  • waitForConfirmation(txId: string): Promise<PendingTransactionResponse>
  • wait for confirmation for transaction using transaction id

    Parameters

    • txId: string

      Transaction id

    Returns Promise<PendingTransactionResponse>

Generated using TypeDoc