An object repesenting a connection to a terrad node running the Lite Client Daemon (LCD) server, a REST server providing access to a node.
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()));
Creates a new LCD client with the specified configuration.
LCD configuration
Creates a new wallet with the Key.
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