Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

lcd

Methods

broadcast

broadcastAsync

broadcastSync

  • NOTE: This is not a synchronous function and is unconventionally named. This function can be await as it returns a Promise.

    Broadcast the transaction using the "sync" mode, returning after DeliverTx() is performed.

    Parameters

    • tx: StdTx

      transaction to broadcast

    Returns Promise<SyncTxBroadcastResult>

encode

  • encode(tx: StdTx): Promise<string>

estimateFee

  • Estimates the transaction's fee by simulating it within the node

    Parameters

    • tx: StdTx | StdSignMsg

      transaction for which to estimate fee

    • Optional options: undefined | { gasAdjustment?: Input; gasPrices?: Input }

      options for fee estimation

    Returns Promise<StdFee>

hash

  • hash(tx: StdTx): Promise<string>

txInfo

  • txInfo(txHash: string): Promise<TxInfo>

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Static property
  • Static method
  • Property

Generated using TypeDoc