@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.esm.js
CHANGED
|
@@ -10810,7 +10810,7 @@ class Client extends BaseXChainClient {
|
|
|
10810
10810
|
getFees() {
|
|
10811
10811
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10812
10812
|
try {
|
|
10813
|
-
const { data: {
|
|
10813
|
+
const { data: { native_tx_fee_rune: fee }, } = yield axios.get(`${this.getClientUrl().node}/thorchain/network`);
|
|
10814
10814
|
// validate data
|
|
10815
10815
|
if (!fee || isNaN(fee) || fee < 0)
|
|
10816
10816
|
throw Error(`Invalid fee: ${fee.toString()}`);
|