UNPKG

@bandprotocol/bandchain.js

Version:

TypeScript library for Cosmos SDK and BandChain

17 lines (16 loc) 501 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LCDQueryClient = void 0; class LCDQueryClient { req; constructor({ requestClient }) { this.req = requestClient; this.params = this.params.bind(this); } /* Params queries parameters of globalfee module */ async params(_params = {}) { const endpoint = `globalfee/v1beta1/params`; return await this.req.get(endpoint); } } exports.LCDQueryClient = LCDQueryClient;