@xchainjs/xchain-thorchain 0.28.13 → 0.28.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.esm.js +1 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/types/client-types.d.ts +2 -4
- package/package.json +5 -5
package/lib/index.js
CHANGED
|
@@ -10838,7 +10838,7 @@ class Client extends xchainClient.BaseXChainClient {
|
|
|
10838
10838
|
getFees() {
|
|
10839
10839
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10840
10840
|
try {
|
|
10841
|
-
const { data: {
|
|
10841
|
+
const { data: { native_tx_fee_rune: fee }, } = yield axios__default["default"].get(`${this.getClientUrl().node}/thorchain/network`);
|
|
10842
10842
|
// validate data
|
|
10843
10843
|
if (!fee || isNaN(fee) || fee < 0)
|
|
10844
10844
|
throw Error(`Invalid fee: ${fee.toString()}`);
|