Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Auth

Auth module is only used to build StdTx

since

v0.17

Hierarchy

  • Auth

Index

Methods

newStdTx

  • Generate a new StdTx which is a standard way to wrap Msgs with Fee and Signatures.

    NOTE: The first signature is the fee payer

    since

    v0.17

    Parameters

    • msgs: Msg[]

      Msgs to be sent

    • baseTx: BaseTx

      Base params of the transaction

    Returns ProtoTx

queryAccount

  • Account returns account details based on address.

    Parameters

    • address: string

      defines the address to query for.

    Returns Promise<BaseAccount>

queryParams

  • queryParams(): Promise<object>
  • Params queries all parameters.

    Returns Promise<object>

Generated using TypeDoc