Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AuthAPI

Hierarchy

  • BaseAPI
    • AuthAPI

Index

Constructors

Properties

Methods

  • accountInfo(address: string, params?: APIParams): Promise<Account>
  • Looks up the account information using its Terra account address. If the account has vesting, it will be one of [LazyGradedVestingAccount, DelayedVestingAccount, PeriodicVestingAccount, ContinuousVestingAccount]

    Parameters

    • address: string

      address of account to look up

    • params: APIParams = {}

    Returns Promise<Account>

  • getReqFromAddress(address: string): APIRequester
  • getReqFromChainID(chainID: string): APIRequester
  • moduleAccountInfo(chainID: string, moduleName: string, params?: APIParams): Promise<ModuleAccount>
  • moduleAccountsInfo(chainID: string, params?: APIParams): Promise<ModuleAccount[]>
  • parameters(chainID: string, params?: APIParams): Promise<AuthParams>