Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WebMode

Hierarchy

  • WebMode

Index

Constructors

constructor

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

Properties

algoSigner

algoSigner: AlgoSigner

chainName

chainName: string

Methods

executeTransaction

getSuggestedParams

  • getSuggestedParams(userParams: TxParams): Promise<SuggestedParams>

sendGroupTransaction

  • sendGroupTransaction(signedTxs: any): Promise<JsonPayload>

sendTransaction

  • sendTransaction(signedTxn: any): Promise<JsonPayload>

signTransaction

  • signTransaction(txns: WalletTransaction[]): Promise<JsonPayload>
  • Sign transaction using algosigner

    Parameters

    • txns: WalletTransaction[]

      Array of transactions in base64

    Returns Promise<JsonPayload>

waitForConfirmation

  • waitForConfirmation(txId: string): Promise<JsonPayload>
  • wait for confirmation for transaction using transaction id

    Parameters

    • txId: string

      Transaction id

    Returns Promise<JsonPayload>

Generated using TypeDoc