import { Lux } from "lux/dist" import { InfoAPI } from "lux/dist/apis/info" import { GetTxFeeResponse } from "lux/dist/apis/info/interfaces" const ip: string = "localhost" const port: number = 9650 const protocol: string = "http" const networkID: number = 1337 const lux: Lux = new Lux(ip, port, protocol, networkID) const info: InfoAPI = lux.Info() const main = async (): Promise => { const iGetTxFeeResponse: GetTxFeeResponse = await info.getTxFee() console.log(iGetTxFeeResponse) } main()