UNPKG

@bandprotocol/bandchain.js

Version:

TypeScript library for Cosmos SDK and BandChain

13 lines (12 loc) 357 B
export 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); } }