Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LCDClient

An object repesenting a connection to a terrad node running the Lite Client Daemon (LCD) server, a REST server providing access to a node.

Example

import { LCDClient } from '@terra-money/feather.js';

const lcd = LCDClient.fromDefaultConfig('mainnet');

const balance = await lcd.bank.balance('terra1...'):
console.log(balance);

Hierarchy

Index

Constructors

Properties

alliance: AllianceAPI
apiRequesters: Record<string, APIRequester>
auth: AuthAPI
authz: AuthzAPI
bank: BankAPI
config: Record<string, LCDClientConfig>
distribution: DistributionAPI
feeGrant: FeeGrantAPI
feemarket: FeemarketAPI
feeshare: FeeshareAPI
gov: GovV1API
ibc: IbcAPI
ibcTransfer: IbcTransferAPI
icaV1: ICAv1API
icqV1: ICQv1API
legacyGov: LegacyGovAPI
mint: MintAPI
pob: PobAPI
slashing: SlashingAPI
smartaccount: SmartaccountAPI
staking: StakingAPI
tendermint: TendermintAPI
tokenfactory: TokenFactory
tx: TxAPI
utils: LCDUtils
wasm: WasmAPI

Methods

  • fromDefaultConfig(network: "mainnet" | "testnet"): LCDClient