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, Coin } from 'terra.js';

const terra = new LCDClient({
URL: "https://lcd.terra.dev",
chainID: "columbus-3"
});

terra.market.swapRate(new Coin('uluna', 10000), 'ukrw').then(c => console.log(c.toString()));

Hierarchy

Index

Constructors

constructor

Properties

apiRequester

apiRequester: APIRequester

auth

auth: AuthAPI

authz

authz: AuthzAPI

bank

bank: BankAPI

config

distribution

distribution: DistributionAPI

gov

gov: GovAPI

ibcTransfer

ibcTransfer: IbcTransferAPI

market

market: MarketAPI

mint

mint: MintAPI

oracle

oracle: OracleAPI

slashing

slashing: SlashingAPI

staking

staking: StakingAPI

tendermint

tendermint: TendermintAPI

treasury

treasury: TreasuryAPI

tx

tx: TxAPI

utils

utils: LCDUtils

wasm

wasm: WasmAPI

Methods

wallet