📅  最后修改于: 2022-03-11 14:55:31.880000             🧑  作者: Mango
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()));