Options
All
  • Public
  • Public/Protected
  • All
Menu

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

  • LCDClient

Index

Constructors

constructor

Properties

apiRequester

apiRequester: APIRequester

auth

auth: AuthAPI

bank

bank: BankAPI

config

distribution

distribution: DistributionAPI

gov

gov: GovAPI

market

market: MarketAPI

oracle

oracle: OracleAPI

slashing

slashing: SlashingAPI

staking

staking: StakingAPI

supply

supply: SupplyAPI

tendermint

tendermint: TendermintAPI

treasury

treasury: TreasuryAPI

tx

tx: TxAPI

wasm

wasm: WasmAPI

Methods

wallet

Legend

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

Generated using TypeDoc