@swapkit/toolboxes 4.15.10 → 4.15.12

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.
Files changed (191) hide show
  1. package/dist/src/index.cjs +1 -1
  2. package/dist/src/index.js +1 -1
  3. package/dist/src/tron/index.cjs +1 -1
  4. package/dist/src/tron/index.js +1 -1
  5. package/dist/src/utxo/index.cjs +1 -1
  6. package/dist/src/utxo/index.js +1 -1
  7. package/dist/types/__tests__/helpers.d.ts +0 -1
  8. package/dist/types/aptos/index.d.ts +0 -1
  9. package/dist/types/aptos/toolbox.d.ts +0 -1
  10. package/dist/types/aptos/types.d.ts +0 -1
  11. package/dist/types/cardano/index.d.ts +0 -1
  12. package/dist/types/cardano/toolbox.d.ts +0 -1
  13. package/dist/types/cardano/types.d.ts +0 -1
  14. package/dist/types/cosmos/index.d.ts +0 -1
  15. package/dist/types/cosmos/thorchainUtils/addressFormat.d.ts +0 -1
  16. package/dist/types/cosmos/thorchainUtils/index.d.ts +0 -1
  17. package/dist/types/cosmos/thorchainUtils/messages.d.ts +6 -7
  18. package/dist/types/cosmos/thorchainUtils/registry.d.ts +2 -3
  19. package/dist/types/cosmos/thorchainUtils/types/MsgCompiled.d.ts +0 -1
  20. package/dist/types/cosmos/thorchainUtils/types/client-types.d.ts +0 -1
  21. package/dist/types/cosmos/thorchainUtils/types/index.d.ts +0 -1
  22. package/dist/types/cosmos/toolbox/cosmos.d.ts +2 -3
  23. package/dist/types/cosmos/toolbox/index.d.ts +0 -1
  24. package/dist/types/cosmos/toolbox/thorchain.d.ts +7 -8
  25. package/dist/types/cosmos/types.d.ts +0 -1
  26. package/dist/types/cosmos/util.d.ts +3 -4
  27. package/dist/types/evm/api.d.ts +0 -1
  28. package/dist/types/evm/contracts/eth/multicall.d.ts +0 -1
  29. package/dist/types/evm/contracts/op/gasOracle.d.ts +0 -1
  30. package/dist/types/evm/helpers.d.ts +1 -2
  31. package/dist/types/evm/index.d.ts +0 -1
  32. package/dist/types/evm/toolbox/baseEVMToolbox.d.ts +0 -1
  33. package/dist/types/evm/toolbox/evm.d.ts +0 -1
  34. package/dist/types/evm/toolbox/index.d.ts +0 -1
  35. package/dist/types/evm/toolbox/op.d.ts +0 -1
  36. package/dist/types/evm/types.d.ts +0 -1
  37. package/dist/types/hypercore/helpers.d.ts +0 -1
  38. package/dist/types/hypercore/index.d.ts +0 -1
  39. package/dist/types/hypercore/signing.d.ts +0 -1
  40. package/dist/types/hypercore/toolbox.d.ts +0 -1
  41. package/dist/types/hypercore/types.d.ts +0 -1
  42. package/dist/types/index.d.ts +0 -1
  43. package/dist/types/near/helpers/core.d.ts +0 -1
  44. package/dist/types/near/helpers/gasEstimation.d.ts +0 -1
  45. package/dist/types/near/helpers/nep141.d.ts +0 -1
  46. package/dist/types/near/index.d.ts +0 -1
  47. package/dist/types/near/toolbox.d.ts +0 -1
  48. package/dist/types/near/types/contract.d.ts +0 -1
  49. package/dist/types/near/types/index.d.ts +0 -1
  50. package/dist/types/near/types/nep141.d.ts +0 -1
  51. package/dist/types/near/types/toolbox.d.ts +0 -1
  52. package/dist/types/near/types.d.ts +0 -1
  53. package/dist/types/radix/index.d.ts +0 -1
  54. package/dist/types/ripple/currency.d.ts +0 -1
  55. package/dist/types/ripple/index.d.ts +0 -1
  56. package/dist/types/ripple/tokens.d.ts +0 -1
  57. package/dist/types/solana/index.d.ts +0 -1
  58. package/dist/types/solana/toolbox.d.ts +0 -1
  59. package/dist/types/starknet/index.d.ts +0 -1
  60. package/dist/types/starknet/toolbox.d.ts +0 -1
  61. package/dist/types/starknet/types.d.ts +0 -1
  62. package/dist/types/stellar/index.d.ts +0 -1
  63. package/dist/types/stellar/toolbox.d.ts +0 -1
  64. package/dist/types/stellar/types.d.ts +0 -1
  65. package/dist/types/substrate/balance.d.ts +0 -1
  66. package/dist/types/substrate/index.d.ts +0 -1
  67. package/dist/types/substrate/substrate.d.ts +0 -1
  68. package/dist/types/substrate/types.d.ts +0 -1
  69. package/dist/types/sui/index.d.ts +0 -1
  70. package/dist/types/sui/toolbox.d.ts +0 -1
  71. package/dist/types/sui/types.d.ts +0 -1
  72. package/dist/types/ton/index.d.ts +0 -1
  73. package/dist/types/ton/toolbox.d.ts +0 -1
  74. package/dist/types/ton/types.d.ts +0 -1
  75. package/dist/types/tron/helpers/proto.d.ts +0 -1
  76. package/dist/types/tron/helpers/trongrid.d.ts +1 -1
  77. package/dist/types/tron/helpers/utils.d.ts +0 -1
  78. package/dist/types/tron/index.d.ts +0 -1
  79. package/dist/types/tron/toolbox.d.ts +1 -2
  80. package/dist/types/tron/types.d.ts +0 -1
  81. package/dist/types/types.d.ts +0 -1
  82. package/dist/types/utils.d.ts +0 -1
  83. package/dist/types/utxo/hdWallet.d.ts +0 -1
  84. package/dist/types/utxo/helpers/api.d.ts +0 -1
  85. package/dist/types/utxo/helpers/bchaddrjs.d.ts +1 -2
  86. package/dist/types/utxo/helpers/cashaddr.d.ts +0 -1
  87. package/dist/types/utxo/helpers/coinselect.d.ts +1 -2
  88. package/dist/types/utxo/helpers/index.d.ts +0 -1
  89. package/dist/types/utxo/helpers/txSize.d.ts +0 -1
  90. package/dist/types/utxo/helpers/xpubDerivation.d.ts +0 -1
  91. package/dist/types/utxo/index.d.ts +0 -1
  92. package/dist/types/utxo/toolbox/bitcoinCash.d.ts +3 -3
  93. package/dist/types/utxo/toolbox/index.d.ts +0 -1
  94. package/dist/types/utxo/toolbox/params.d.ts +0 -1
  95. package/dist/types/utxo/toolbox/utxo.d.ts +4 -4
  96. package/dist/types/utxo/toolbox/validators.d.ts +0 -1
  97. package/dist/types/utxo/toolbox/zcash.d.ts +1 -2
  98. package/dist/types/utxo/types.d.ts +0 -1
  99. package/package.json +77 -77
  100. package/dist/types/__tests__/helpers.d.ts.map +0 -1
  101. package/dist/types/aptos/index.d.ts.map +0 -1
  102. package/dist/types/aptos/toolbox.d.ts.map +0 -1
  103. package/dist/types/aptos/types.d.ts.map +0 -1
  104. package/dist/types/cardano/index.d.ts.map +0 -1
  105. package/dist/types/cardano/toolbox.d.ts.map +0 -1
  106. package/dist/types/cardano/types.d.ts.map +0 -1
  107. package/dist/types/cosmos/index.d.ts.map +0 -1
  108. package/dist/types/cosmos/thorchainUtils/addressFormat.d.ts.map +0 -1
  109. package/dist/types/cosmos/thorchainUtils/index.d.ts.map +0 -1
  110. package/dist/types/cosmos/thorchainUtils/messages.d.ts.map +0 -1
  111. package/dist/types/cosmos/thorchainUtils/registry.d.ts.map +0 -1
  112. package/dist/types/cosmos/thorchainUtils/types/MsgCompiled.d.ts.map +0 -1
  113. package/dist/types/cosmos/thorchainUtils/types/client-types.d.ts.map +0 -1
  114. package/dist/types/cosmos/thorchainUtils/types/index.d.ts.map +0 -1
  115. package/dist/types/cosmos/toolbox/cosmos.d.ts.map +0 -1
  116. package/dist/types/cosmos/toolbox/index.d.ts.map +0 -1
  117. package/dist/types/cosmos/toolbox/thorchain.d.ts.map +0 -1
  118. package/dist/types/cosmos/types.d.ts.map +0 -1
  119. package/dist/types/cosmos/util.d.ts.map +0 -1
  120. package/dist/types/evm/api.d.ts.map +0 -1
  121. package/dist/types/evm/contracts/eth/multicall.d.ts.map +0 -1
  122. package/dist/types/evm/contracts/op/gasOracle.d.ts.map +0 -1
  123. package/dist/types/evm/helpers.d.ts.map +0 -1
  124. package/dist/types/evm/index.d.ts.map +0 -1
  125. package/dist/types/evm/toolbox/baseEVMToolbox.d.ts.map +0 -1
  126. package/dist/types/evm/toolbox/evm.d.ts.map +0 -1
  127. package/dist/types/evm/toolbox/index.d.ts.map +0 -1
  128. package/dist/types/evm/toolbox/op.d.ts.map +0 -1
  129. package/dist/types/evm/types.d.ts.map +0 -1
  130. package/dist/types/hypercore/helpers.d.ts.map +0 -1
  131. package/dist/types/hypercore/index.d.ts.map +0 -1
  132. package/dist/types/hypercore/signing.d.ts.map +0 -1
  133. package/dist/types/hypercore/toolbox.d.ts.map +0 -1
  134. package/dist/types/hypercore/types.d.ts.map +0 -1
  135. package/dist/types/index.d.ts.map +0 -1
  136. package/dist/types/near/helpers/core.d.ts.map +0 -1
  137. package/dist/types/near/helpers/gasEstimation.d.ts.map +0 -1
  138. package/dist/types/near/helpers/nep141.d.ts.map +0 -1
  139. package/dist/types/near/index.d.ts.map +0 -1
  140. package/dist/types/near/toolbox.d.ts.map +0 -1
  141. package/dist/types/near/types/contract.d.ts.map +0 -1
  142. package/dist/types/near/types/index.d.ts.map +0 -1
  143. package/dist/types/near/types/nep141.d.ts.map +0 -1
  144. package/dist/types/near/types/toolbox.d.ts.map +0 -1
  145. package/dist/types/near/types.d.ts.map +0 -1
  146. package/dist/types/radix/index.d.ts.map +0 -1
  147. package/dist/types/ripple/currency.d.ts.map +0 -1
  148. package/dist/types/ripple/index.d.ts.map +0 -1
  149. package/dist/types/ripple/tokens.d.ts.map +0 -1
  150. package/dist/types/solana/index.d.ts.map +0 -1
  151. package/dist/types/solana/toolbox.d.ts.map +0 -1
  152. package/dist/types/starknet/index.d.ts.map +0 -1
  153. package/dist/types/starknet/toolbox.d.ts.map +0 -1
  154. package/dist/types/starknet/types.d.ts.map +0 -1
  155. package/dist/types/stellar/index.d.ts.map +0 -1
  156. package/dist/types/stellar/toolbox.d.ts.map +0 -1
  157. package/dist/types/stellar/types.d.ts.map +0 -1
  158. package/dist/types/substrate/balance.d.ts.map +0 -1
  159. package/dist/types/substrate/index.d.ts.map +0 -1
  160. package/dist/types/substrate/substrate.d.ts.map +0 -1
  161. package/dist/types/substrate/types.d.ts.map +0 -1
  162. package/dist/types/sui/index.d.ts.map +0 -1
  163. package/dist/types/sui/toolbox.d.ts.map +0 -1
  164. package/dist/types/sui/types.d.ts.map +0 -1
  165. package/dist/types/ton/index.d.ts.map +0 -1
  166. package/dist/types/ton/toolbox.d.ts.map +0 -1
  167. package/dist/types/ton/types.d.ts.map +0 -1
  168. package/dist/types/tron/helpers/proto.d.ts.map +0 -1
  169. package/dist/types/tron/helpers/trongrid.d.ts.map +0 -1
  170. package/dist/types/tron/helpers/utils.d.ts.map +0 -1
  171. package/dist/types/tron/index.d.ts.map +0 -1
  172. package/dist/types/tron/toolbox.d.ts.map +0 -1
  173. package/dist/types/tron/types.d.ts.map +0 -1
  174. package/dist/types/types.d.ts.map +0 -1
  175. package/dist/types/utils.d.ts.map +0 -1
  176. package/dist/types/utxo/hdWallet.d.ts.map +0 -1
  177. package/dist/types/utxo/helpers/api.d.ts.map +0 -1
  178. package/dist/types/utxo/helpers/bchaddrjs.d.ts.map +0 -1
  179. package/dist/types/utxo/helpers/cashaddr.d.ts.map +0 -1
  180. package/dist/types/utxo/helpers/coinselect.d.ts.map +0 -1
  181. package/dist/types/utxo/helpers/index.d.ts.map +0 -1
  182. package/dist/types/utxo/helpers/txSize.d.ts.map +0 -1
  183. package/dist/types/utxo/helpers/xpubDerivation.d.ts.map +0 -1
  184. package/dist/types/utxo/index.d.ts.map +0 -1
  185. package/dist/types/utxo/toolbox/bitcoinCash.d.ts.map +0 -1
  186. package/dist/types/utxo/toolbox/index.d.ts.map +0 -1
  187. package/dist/types/utxo/toolbox/params.d.ts.map +0 -1
  188. package/dist/types/utxo/toolbox/utxo.d.ts.map +0 -1
  189. package/dist/types/utxo/toolbox/validators.d.ts.map +0 -1
  190. package/dist/types/utxo/toolbox/zcash.d.ts.map +0 -1
  191. package/dist/types/utxo/types.d.ts.map +0 -1
@@ -28,4 +28,3 @@ export declare function getCardanoToolbox(toolboxParams?: {
28
28
  };
29
29
  export type CardanoWallet = ReturnType<typeof getCardanoToolbox>;
30
30
  export {};
31
- //# sourceMappingURL=toolbox.d.ts.map
@@ -13,4 +13,3 @@ export type CardanoCreateTransactionParams = Omit<GenericCreateTransactionParams
13
13
  pureLovelaceOnly?: boolean;
14
14
  };
15
15
  export type CardanoTransferParams = Omit<GenericTransferParams, "feeRate">;
16
- //# sourceMappingURL=types.d.ts.map
@@ -2,4 +2,3 @@ export * from "./thorchainUtils";
2
2
  export * from "./toolbox";
3
3
  export * from "./types";
4
4
  export * from "./util";
5
- //# sourceMappingURL=index.d.ts.map
@@ -2,4 +2,3 @@ export declare function bech32ToBase64(address: string): string;
2
2
  export declare function base64ToBech32(address: string, prefix?: string): `${Lowercase<string>}1${string}`;
3
3
  export declare function toBase64(data: Uint8Array): string;
4
4
  export declare function fromBase64(base64String: string): Uint8Array<ArrayBufferLike>;
5
- //# sourceMappingURL=addressFormat.d.ts.map
@@ -2,4 +2,3 @@ export * from "./addressFormat";
2
2
  export * from "./messages";
3
3
  export * from "./registry";
4
4
  export * from "./types";
5
- //# sourceMappingURL=index.d.ts.map
@@ -62,7 +62,7 @@ export declare const buildAminoMsg: ({ sender, recipient, assetValue, memo, }: {
62
62
  to_address: string | undefined;
63
63
  };
64
64
  };
65
- export declare const convertToSignable: (msg: MsgSend | MsgDeposit, chain: TCLikeChain) => Promise<import("@cosmjs/proto-signing").EncodeObject>;
65
+ export declare const convertToSignable: (msg: MsgSend | MsgDeposit, chain: TCLikeChain) => Promise<import("@cosmjs/proto-signing/build").EncodeObject>;
66
66
  export declare function createTransaction(params: ThorchainCreateTransactionParams): Promise<{
67
67
  accountNumber: number;
68
68
  chainId: import("@swapkit/types").ChainId.Maya | import("@swapkit/types").ChainId.THORChain;
@@ -74,7 +74,7 @@ export declare function createTransaction(params: ThorchainCreateTransactionPara
74
74
  gas: string;
75
75
  };
76
76
  memo: string;
77
- msgs: (import("@cosmjs/proto-signing").EncodeObject | {
77
+ msgs: (import("@cosmjs/proto-signing/build").EncodeObject | {
78
78
  type: "thorchain/MsgSend" | "mayachain/MsgSend";
79
79
  value: {
80
80
  amount: {
@@ -97,7 +97,7 @@ export declare function createTransaction(params: ThorchainCreateTransactionPara
97
97
  gas: string;
98
98
  };
99
99
  memo: string;
100
- msgs: (import("@cosmjs/proto-signing").EncodeObject | {
100
+ msgs: (import("@cosmjs/proto-signing/build").EncodeObject | {
101
101
  type: "thorchain/MsgDeposit" | "mayachain/MsgDeposit";
102
102
  value: {
103
103
  coins: {
@@ -121,7 +121,7 @@ export declare function buildTransferTx({ sender, recipient, assetValue, memo, a
121
121
  gas: string;
122
122
  };
123
123
  memo: string;
124
- msgs: (import("@cosmjs/proto-signing").EncodeObject | {
124
+ msgs: (import("@cosmjs/proto-signing/build").EncodeObject | {
125
125
  type: "thorchain/MsgSend" | "mayachain/MsgSend";
126
126
  value: {
127
127
  amount: {
@@ -145,7 +145,7 @@ export declare function buildDepositTx({ sender, assetValue, memo, asSignable, a
145
145
  gas: string;
146
146
  };
147
147
  memo: string;
148
- msgs: (import("@cosmjs/proto-signing").EncodeObject | {
148
+ msgs: (import("@cosmjs/proto-signing/build").EncodeObject | {
149
149
  type: "thorchain/MsgDeposit" | "mayachain/MsgDeposit";
150
150
  value: {
151
151
  coins: {
@@ -203,6 +203,5 @@ export declare function buildEncodedTxBody({ chain, memo, msgs, }: {
203
203
  msgs: DirectMsgDepositForBroadcast[] | DirectMsgSendForBroadcast[];
204
204
  memo: string;
205
205
  chain: TCLikeChain;
206
- }): Promise<Uint8Array<ArrayBufferLike>>;
206
+ }): Promise<Uint8Array<ArrayBuffer>>;
207
207
  export {};
208
- //# sourceMappingURL=messages.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { type TCLikeChain } from "@swapkit/helpers";
2
- export declare function createDefaultRegistry(): Promise<import("@cosmjs/proto-signing").Registry>;
3
- export declare function createDefaultAminoTypes(chain: TCLikeChain): Promise<import("@cosmjs/stargate").AminoTypes>;
4
- //# sourceMappingURL=registry.d.ts.map
2
+ export declare function createDefaultRegistry(): Promise<import("@cosmjs/proto-signing/build").Registry>;
3
+ export declare function createDefaultAminoTypes(chain: TCLikeChain): Promise<import("@cosmjs/stargate/build").AminoTypes>;
@@ -1,2 +1 @@
1
1
  export declare const $root: any;
2
- //# sourceMappingURL=MsgCompiled.d.ts.map
@@ -60,4 +60,3 @@ export type ThorchainCreateTransactionParams = Omit<CosmosCreateTransactionParam
60
60
  };
61
61
  export type ThorchainDepositParams = Omit<GenericTransferParams, "recipient">;
62
62
  export {};
63
- //# sourceMappingURL=client-types.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from "./client-types";
2
- //# sourceMappingURL=index.d.ts.map
@@ -18,7 +18,7 @@ export declare function getSignerFromPhrase({ phrase, prefix, ...derivationParam
18
18
  export declare function getSignerFromPrivateKey({ privateKey, prefix }: {
19
19
  privateKey: Uint8Array;
20
20
  prefix: string;
21
- }): Promise<import("@cosmjs/proto-signing").DirectSecp256k1Wallet>;
21
+ }): Promise<import("@cosmjs/proto-signing/build").DirectSecp256k1Wallet>;
22
22
  export declare function verifySignature(getAccount: (address: string) => Promise<Account | null>): ({ signature, message, address, }: {
23
23
  signature: string;
24
24
  message: string;
@@ -45,7 +45,7 @@ export declare function createCosmosToolbox({ chain, ...toolboxParams }: CosmosT
45
45
  phrase: string;
46
46
  derivationPath: DerivationPathArray;
47
47
  }) => Promise<DirectSecp256k1HdWallet>;
48
- getSignerFromPrivateKey: (privateKey: Uint8Array) => Promise<import("@cosmjs/proto-signing").DirectSecp256k1Wallet>;
48
+ getSignerFromPrivateKey: (privateKey: Uint8Array) => Promise<import("@cosmjs/proto-signing/build").DirectSecp256k1Wallet>;
49
49
  signAndBroadcastTransaction: (transaction: CosmosTransaction) => Promise<string>;
50
50
  signTransaction: (transaction: CosmosTransaction) => Promise<TxRaw>;
51
51
  transfer: ({ recipient, assetValue, memo, feeRate, feeOptionKey, }: GenericTransferParams) => Promise<string>;
@@ -61,4 +61,3 @@ export declare function estimateTransactionFee({ assetValue: { chain } }: {
61
61
  assetValue: AssetValue;
62
62
  }): AssetValue;
63
63
  export declare function getCosmosAddressValidator(chain: CosmosChain): (address: string) => boolean;
64
- //# sourceMappingURL=cosmos.d.ts.map
@@ -12,4 +12,3 @@ export type CosmosToolboxes = {
12
12
  export declare const getCosmosToolbox: <T extends Exclude<CosmosChain, Chain.Harbor>>(chain: T, params?: Omit<CosmosToolboxParams, "chain">) => CosmosToolboxes[T];
13
13
  export * from "./cosmos";
14
14
  export * from "./thorchain";
15
- //# sourceMappingURL=index.d.ts.map
@@ -3,7 +3,7 @@ import { type GenericTransferParams, SwapKitNumber, type TCLikeChain } from "@sw
3
3
  import type { CosmosTransaction } from "@swapkit/helpers/api";
4
4
  import { buildEncodedTxBody, createDefaultRegistry, createTransaction, parseAminoMessageForDirectSigning } from "../thorchainUtils";
5
5
  import type { CosmosToolboxParams, MultiSigSigner, MultisigTx } from "../types";
6
- declare function createMultisig(pubKeys: string[], threshold: number, noSortPubKeys?: boolean): Promise<import("@cosmjs/amino").MultisigThresholdPubkey>;
6
+ declare function createMultisig(pubKeys: string[], threshold: number, noSortPubKeys?: boolean): Promise<import("@cosmjs/amino/build").MultisigThresholdPubkey>;
7
7
  declare function importSignature(signature: string): Uint8Array<ArrayBufferLike>;
8
8
  declare function signWithPrivateKey({ privateKey, message }: {
9
9
  privateKey: Uint8Array;
@@ -58,8 +58,8 @@ export declare function createThorchainToolbox({ chain, ...toolboxParams }: Cosm
58
58
  memo: string;
59
59
  signer: string;
60
60
  };
61
- }, chain: TCLikeChain) => Promise<import("@cosmjs/proto-signing").EncodeObject>;
62
- createDefaultAminoTypes: () => Promise<import("@cosmjs/stargate").AminoTypes>;
61
+ }, chain: TCLikeChain) => Promise<import("@cosmjs/proto-signing/build").EncodeObject>;
62
+ createDefaultAminoTypes: () => Promise<import("@cosmjs/stargate/build").AminoTypes>;
63
63
  createDefaultRegistry: typeof createDefaultRegistry;
64
64
  createMultisig: typeof createMultisig;
65
65
  createTransaction: typeof createTransaction;
@@ -80,7 +80,7 @@ export declare function createThorchainToolbox({ chain, ...toolboxParams }: Cosm
80
80
  wallet: Secp256k1HdWallet;
81
81
  tx: string | MultisigTx;
82
82
  }) => Promise<{
83
- bodyBytes: Uint8Array<ArrayBufferLike>;
83
+ bodyBytes: Uint8Array<ArrayBuffer>;
84
84
  signature: string;
85
85
  }>;
86
86
  signTransaction: (transaction: CosmosTransaction) => Promise<import("cosmjs-types/cosmos/tx/v1beta1/tx").TxRaw>;
@@ -90,7 +90,7 @@ export declare function createThorchainToolbox({ chain, ...toolboxParams }: Cosm
90
90
  }) => Promise<string>;
91
91
  createPrivateKeyFromPhrase: (phrase: string) => Promise<Uint8Array<ArrayBufferLike>>;
92
92
  fetchFeeRateFromSwapKit: typeof import("./cosmos").fetchFeeRateFromSwapKit;
93
- getAccount: (address: string) => Promise<import("@cosmjs/stargate").Account | null>;
93
+ getAccount: (address: string) => Promise<import("@cosmjs/stargate/build").Account | null>;
94
94
  getAddress: () => Promise<string | undefined>;
95
95
  getBalance: (address: string, _potentialScamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
96
96
  getBalanceAsDenoms: (address: string) => Promise<{
@@ -101,8 +101,8 @@ export declare function createThorchainToolbox({ chain, ...toolboxParams }: Cosm
101
101
  getSignerFromPhrase: ({ phrase, derivationPath }: {
102
102
  phrase: string;
103
103
  derivationPath: import("@swapkit/helpers").DerivationPathArray;
104
- }) => Promise<import("@cosmjs/proto-signing").DirectSecp256k1HdWallet>;
105
- getSignerFromPrivateKey: (privateKey: Uint8Array) => Promise<import("@cosmjs/proto-signing").DirectSecp256k1Wallet>;
104
+ }) => Promise<import("@cosmjs/proto-signing/build").DirectSecp256k1HdWallet>;
105
+ getSignerFromPrivateKey: (privateKey: Uint8Array) => Promise<import("@cosmjs/proto-signing/build").DirectSecp256k1Wallet>;
106
106
  validateAddress: (address: string) => boolean;
107
107
  verifySignature: ({ signature, message, address, }: {
108
108
  signature: string;
@@ -111,4 +111,3 @@ export declare function createThorchainToolbox({ chain, ...toolboxParams }: Cosm
111
111
  }) => Promise<boolean>;
112
112
  };
113
113
  export {};
114
- //# sourceMappingURL=thorchain.d.ts.map
@@ -46,4 +46,3 @@ export type ThorchainWallet = Omit<ReturnType<typeof createThorchainToolbox>, "s
46
46
  export type ThorchainWallets = {
47
47
  [chain in TCLikeChain]: ThorchainWallet;
48
48
  };
49
- //# sourceMappingURL=types.d.ts.map
@@ -34,9 +34,9 @@ export declare function getDefaultChainFee(chain: CosmosChain): {
34
34
  };
35
35
  export declare const getMsgSendDenom: (symbol: string, isThorchain?: boolean) => string;
36
36
  export declare const getDenomWithChain: ({ symbol, chain }: AssetValue) => string;
37
- export declare function createStargateClient(url: string): Promise<import("@cosmjs/stargate").StargateClient>;
38
- export declare function createSigningStargateClient(url: string, signer: OfflineSigner, optionsOrBaseGas?: string | SigningStargateClientOptions): Promise<import("@cosmjs/stargate").SigningStargateClient>;
39
- export declare function createOfflineStargateClient(wallet: OfflineSigner, registry?: SigningStargateClientOptions): Promise<import("@cosmjs/stargate").SigningStargateClient>;
37
+ export declare function createStargateClient(url: string): Promise<import("@cosmjs/stargate/build").StargateClient>;
38
+ export declare function createSigningStargateClient(url: string, signer: OfflineSigner, optionsOrBaseGas?: string | SigningStargateClientOptions): Promise<import("@cosmjs/stargate/build").SigningStargateClient>;
39
+ export declare function createOfflineStargateClient(wallet: OfflineSigner, registry?: SigningStargateClientOptions): Promise<import("@cosmjs/stargate/build").SigningStargateClient>;
40
40
  /**
41
41
  * Used to build tx for Cosmos and Kujira
42
42
  */
@@ -71,4 +71,3 @@ export declare function cosmosCreateTransaction({ sender, recipient, assetValue,
71
71
  * @returns AssetValue with the correct decimal conversion
72
72
  */
73
73
  export declare const getAssetFromDenom: (denom: string, amount: string) => AssetValue;
74
- //# sourceMappingURL=util.d.ts.map
@@ -5,4 +5,3 @@ export declare function getEvmApi(chain: EVMChain): {
5
5
  export declare function createCustomEvmApi(methods: ReturnType<typeof getEvmApi>): {
6
6
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
7
7
  };
8
- //# sourceMappingURL=api.d.ts.map
@@ -33,4 +33,3 @@ export declare const multicallAbi: {
33
33
  stateMutability: string;
34
34
  type: string;
35
35
  }[];
36
- //# sourceMappingURL=multicall.d.ts.map
@@ -37,4 +37,3 @@ export declare const gasOracleAbi: ({
37
37
  type: string;
38
38
  anonymous?: undefined;
39
39
  })[];
40
- //# sourceMappingURL=gasOracle.d.ts.map
@@ -20,7 +20,7 @@ export declare function buildEIP712DomainType(domain: {
20
20
  verifyingContract?: null | string;
21
21
  version?: null | string;
22
22
  }): {
23
- name: "chainId" | "version" | "name" | "verifyingContract" | "salt";
23
+ name: "chainId" | "name" | "version" | "verifyingContract" | "salt";
24
24
  type: "string" | "address" | "uint256" | "bytes32";
25
25
  }[];
26
26
  export declare function parseEIP712FromEVMTx({ chain, abi, data, to, }: {
@@ -36,4 +36,3 @@ export declare function parseEIP712FromEVMTx({ chain, abi, data, to, }: {
36
36
  * @throws SwapKitError if any authorization is invalid or array is empty
37
37
  */
38
38
  export declare function validateAuthorizations(authorizations: Authorization[], expectedChainId?: bigint): void;
39
- //# sourceMappingURL=helpers.d.ts.map
@@ -2,4 +2,3 @@ export * from "./api";
2
2
  export * from "./helpers";
3
3
  export * from "./toolbox";
4
4
  export * from "./types";
5
- //# sourceMappingURL=index.d.ts.map
@@ -89,4 +89,3 @@ export declare const isEIP1559Transaction: (tx: EVMTxParams) => boolean;
89
89
  type EVMTxType = "eip7702" | "eip1559" | "legacy";
90
90
  export declare const getEVMTxType: (tx: EVMTxParams, isEIP1559Compatible?: boolean) => EVMTxType;
91
91
  export {};
92
- //# sourceMappingURL=baseEVMToolbox.d.ts.map
@@ -904,4 +904,3 @@ export declare const MEGAETHToolbox: ({ provider, ...toolboxParams }: EVMToolbox
904
904
  transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("..").EVMTransferParams) => Promise<string>;
905
905
  validateAddress: typeof import("./baseEVMToolbox").validateEVMAddress;
906
906
  };
907
- //# sourceMappingURL=evm.d.ts.map
@@ -5,4 +5,3 @@ export declare function getEvmToolboxAsync<T extends EVMChain>(chain: T, params?
5
5
  export * from "./baseEVMToolbox";
6
6
  export * from "./evm";
7
7
  export * from "./op";
8
- //# sourceMappingURL=index.d.ts.map
@@ -66,4 +66,3 @@ export declare function OPToolbox({ provider, ...toolboxSignerParams }: EVMToolb
66
66
  transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("..").EVMTransferParams) => Promise<string>;
67
67
  validateAddress: typeof import("./baseEVMToolbox").validateEVMAddress;
68
68
  };
69
- //# sourceMappingURL=op.d.ts.map
@@ -127,4 +127,3 @@ export type EVMToolboxes = {
127
127
  [Chain.Unichain]: ReturnType<typeof UNIToolbox>;
128
128
  [Chain.XLayer]: ReturnType<typeof XLayerToolbox>;
129
129
  };
130
- //# sourceMappingURL=types.d.ts.map
@@ -13,4 +13,3 @@ export declare function buildSendAssetAction({ amount, destination, destinationD
13
13
  export declare function buildApproveAgentAction({ agentAddress, agentName, hyperliquidChain, nonce, signatureChainId, }: Omit<HyperCoreApproveAgentAction, "type">): HyperCoreApproveAgentAction;
14
14
  export declare function buildApproveBuilderFeeAction({ builder, hyperliquidChain, maxFeeRate, nonce, signatureChainId, }: Omit<HyperCoreApproveBuilderFeeAction, "type">): HyperCoreApproveBuilderFeeAction;
15
15
  export declare function buildTokenDelegateAction({ hyperliquidChain, isUndelegate, nonce, signatureChainId, validator, wei, }: Omit<HyperCoreTokenDelegateAction, "type">): HyperCoreTokenDelegateAction;
16
- //# sourceMappingURL=helpers.d.ts.map
@@ -3,4 +3,3 @@ export type HyperCoreWallet = ReturnType<typeof getHyperCoreToolbox>;
3
3
  export * from "./helpers";
4
4
  export * from "./toolbox";
5
5
  export * from "./types";
6
- //# sourceMappingURL=index.d.ts.map
@@ -7,4 +7,3 @@ export declare function getActionHash(action: HyperCoreL1Action, nonce: number,
7
7
  vaultAddress?: string;
8
8
  }): string;
9
9
  export declare function normalizeUserSignedAction<TAction extends HyperCoreUserSignedAction>(action: TAction): TAction;
10
- //# sourceMappingURL=signing.d.ts.map
@@ -76,4 +76,3 @@ export declare function getHyperCoreToolbox(toolboxParams?: HyperCoreToolboxPara
76
76
  validateAddress: typeof validateHyperCoreAddress;
77
77
  };
78
78
  export {};
79
- //# sourceMappingURL=toolbox.d.ts.map
@@ -256,4 +256,3 @@ export type HyperCoreSignedActionRequest<TAction extends HyperCoreL1Action | Hyp
256
256
  export type HyperCoreUnsignedRequest = HyperCoreTransferTransaction | HyperCoreUnsignedL1ActionRequest | HyperCoreUnsignedUserSignedActionRequest;
257
257
  export type HyperCoreSignedRequest = HyperCoreSignedActionRequest;
258
258
  export {};
259
- //# sourceMappingURL=types.d.ts.map
@@ -83,4 +83,3 @@ type CreateTransactionParams = {
83
83
  [Chain.Cardano]: GenericCreateTransactionParams;
84
84
  };
85
85
  export declare function getToolbox<T extends keyof Toolboxes>(chain: T, params?: ToolboxParams[T]): Promise<Toolboxes[T]>;
86
- //# sourceMappingURL=index.d.ts.map
@@ -12,4 +12,3 @@ export declare function getFullAccessPublicKey(provider: Provider, accountId: st
12
12
  nonce: number;
13
13
  publicKey: import("@near-js/crypto").PublicKey;
14
14
  }>;
15
- //# sourceMappingURL=core.d.ts.map
@@ -38,4 +38,3 @@ export declare function estimateBatchGas(actions: any[]): string;
38
38
  export declare function getContractMethodGas(methodName: string): "150";
39
39
  export declare function tgasToGas(tgas: string): string;
40
40
  export declare function gasToTGas(gas: string): string;
41
- //# sourceMappingURL=gasEstimation.d.ts.map
@@ -33,4 +33,3 @@ export declare function createNearContract<T extends Contract>({ account, contra
33
33
  viewMethods: string[];
34
34
  changeMethods: string[];
35
35
  }): Promise<T>;
36
- //# sourceMappingURL=nep141.d.ts.map
@@ -7,4 +7,3 @@ export * from "./types";
7
7
  export type NearWallet = ReturnType<typeof getNearToolbox>;
8
8
  export type { NearCallParams, NearContractInterface, NearGasEstimateParams, } from "./types/contract";
9
9
  export type { FungibleTokenMetadata, StorageBalance, StorageBalanceBounds, TokenTransferParams, } from "./types/nep141";
10
- //# sourceMappingURL=index.d.ts.map
@@ -32,4 +32,3 @@ export declare function getNearToolbox(toolboxParams?: NearToolboxParams): {
32
32
  transfer: (params: NearTransferParams) => Promise<any>;
33
33
  validateAddress: typeof validateNearAddress;
34
34
  };
35
- //# sourceMappingURL=toolbox.d.ts.map
@@ -35,4 +35,3 @@ export type NearGasEstimateParams = {
35
35
  } | {
36
36
  customEstimator: (account: Account) => Promise<string>;
37
37
  };
38
- //# sourceMappingURL=contract.d.ts.map
@@ -1,4 +1,3 @@
1
1
  export * from "./contract";
2
2
  export * from "./nep141";
3
3
  export * from "./toolbox";
4
- //# sourceMappingURL=index.d.ts.map
@@ -26,4 +26,3 @@ export interface TokenTransferParams {
26
26
  amount: string;
27
27
  memo?: string;
28
28
  }
29
- //# sourceMappingURL=nep141.d.ts.map
@@ -50,4 +50,3 @@ export interface NearToolbox {
50
50
  serializeTransaction: (params: Transaction) => Promise<string>;
51
51
  signAndSendTransaction: (params: Transaction) => Promise<string>;
52
52
  }
53
- //# sourceMappingURL=toolbox.d.ts.map
@@ -44,4 +44,3 @@ export * from "./toolbox";
44
44
  export * from "./types/contract";
45
45
  export * from "./types/nep141";
46
46
  export * from "./types/toolbox";
47
- //# sourceMappingURL=types.d.ts.map
@@ -11,4 +11,3 @@ export declare function getRadixToolbox({ dappConfig }?: {
11
11
  signAndBroadcast: (params: any) => Promise<string>;
12
12
  validateAddress: typeof validateRadixAddress;
13
13
  };
14
- //# sourceMappingURL=index.d.ts.map
@@ -2,4 +2,3 @@ export declare function isHexCurrency(code: string): boolean;
2
2
  export declare function currencyToHex(currency: string): string;
3
3
  export declare function hexToCurrency(hex: string): string;
4
4
  export declare function normalizeCurrency(code: string): string;
5
- //# sourceMappingURL=currency.d.ts.map
@@ -86,4 +86,3 @@ export declare function getRippleToolbox(params?: RippleToolboxParams): {
86
86
  transfer: (params: GenericTransferParams) => Promise<string>;
87
87
  validateAddress: typeof validateRippleAddress;
88
88
  };
89
- //# sourceMappingURL=index.d.ts.map
@@ -12,4 +12,3 @@ export declare const XRPL_KNOWN_TOKENS: XrplTokenInfo[];
12
12
  export declare function getXrplTokenInfo(currency: string, issuer: string): Promise<XrplTokenInfo | null>;
13
13
  export declare function getKnownTokensByIssuer(issuer: string): XrplTokenInfo[];
14
14
  export declare function isKnownToken(currency: string, issuer: string): boolean;
15
- //# sourceMappingURL=tokens.d.ts.map
@@ -20,4 +20,3 @@ export type SolanaCreateTransactionParams = Omit<GenericCreateTransactionParams,
20
20
  export type SolanaTransferParams = Omit<GenericTransferParams, "feeRate"> & {
21
21
  isProgramDerivedAddress?: boolean;
22
22
  };
23
- //# sourceMappingURL=index.d.ts.map
@@ -50,4 +50,3 @@ export declare function createKeysForPath({ phrase, derivationPath, }: {
50
50
  }): Promise<import("@solana/web3.js/lib").Keypair>;
51
51
  declare function getAddressFromPubKey(publicKey: PublicKey): string;
52
52
  export {};
53
- //# sourceMappingURL=toolbox.d.ts.map
@@ -2,4 +2,3 @@ import type { getStarknetToolbox } from "./toolbox";
2
2
  export { createKeysForPath as starknetCreateKeysForPath, deriveStarknetKeys, getStarknetToolbox, validateStarknetAddress, } from "./toolbox";
3
3
  export * from "./types";
4
4
  export type StarknetWallet = ReturnType<typeof getStarknetToolbox>;
5
- //# sourceMappingURL=index.d.ts.map
@@ -31,4 +31,3 @@ export declare function getStarknetToolbox(toolboxParams?: StarknetToolboxParams
31
31
  transfer: ({ recipient, assetValue, memo }: StarknetTransferParams) => Promise<string>;
32
32
  validateAddress: typeof validateStarknetAddress;
33
33
  };
34
- //# sourceMappingURL=toolbox.d.ts.map
@@ -23,4 +23,3 @@ export type StarknetCreateTransactionParams = {
23
23
  feeRate?: number;
24
24
  feeOptionKey?: FeeOption;
25
25
  };
26
- //# sourceMappingURL=types.d.ts.map
@@ -1,3 +1,2 @@
1
1
  export { getStellarToolbox, validateStellarAddress } from "./toolbox";
2
2
  export type { StellarCreateTransactionParams, StellarToolboxParams, StellarTransferParams, StellarWallet, } from "./types";
3
- //# sourceMappingURL=index.d.ts.map
@@ -18,4 +18,3 @@ export declare function getStellarToolbox(params?: StellarToolboxParams): {
18
18
  transfer: ({ recipient, assetValue, memo }: StellarTransferParams) => Promise<string>;
19
19
  validateAddress: typeof validateStellarAddress;
20
20
  };
21
- //# sourceMappingURL=toolbox.d.ts.map
@@ -7,4 +7,3 @@ export type StellarToolboxParams = {
7
7
  phrase?: string;
8
8
  derivationPath?: DerivationPathArray;
9
9
  };
10
- //# sourceMappingURL=types.d.ts.map
@@ -14,4 +14,3 @@ export declare function getChainflipBalance(api: ApiPromise, gasAsset: AssetValu
14
14
  * Factory function to create chain-specific balance getter
15
15
  */
16
16
  export declare function createBalanceGetter(chain: Chain, api: ApiPromise): (address?: string) => Promise<AssetValue[]>;
17
- //# sourceMappingURL=balance.d.ts.map
@@ -1,3 +1,2 @@
1
1
  export * from "./substrate";
2
2
  export * from "./types";
3
- //# sourceMappingURL=index.d.ts.map
@@ -70,4 +70,3 @@ export type SubstrateToolboxParams = {
70
70
  index?: number;
71
71
  });
72
72
  export {};
73
- //# sourceMappingURL=substrate.d.ts.map
@@ -97,4 +97,3 @@ export type SubstrateInjectedExtension = Record<string, {
97
97
  version?: string;
98
98
  }>;
99
99
  export {};
100
- //# sourceMappingURL=types.d.ts.map
@@ -1,3 +1,2 @@
1
1
  export * from "./toolbox";
2
2
  export * from "./types";
3
- //# sourceMappingURL=index.d.ts.map
@@ -25,4 +25,3 @@ export declare function getSuiToolbox({ provider: providerParam, ...signerParams
25
25
  transfer: ({ assetValue, gasBudget, recipient }: SuiTransferParams) => Promise<string>;
26
26
  validateAddress: typeof validateSuiAddress;
27
27
  };
28
- //# sourceMappingURL=toolbox.d.ts.map
@@ -21,4 +21,3 @@ export type SuiToolboxParams = {
21
21
  phrase?: string;
22
22
  signer?: SuiSigner;
23
23
  };
24
- //# sourceMappingURL=types.d.ts.map
@@ -1,3 +1,2 @@
1
1
  export * from "./toolbox";
2
2
  export * from "./types";
3
- //# sourceMappingURL=index.d.ts.map
@@ -21,4 +21,3 @@ export declare function getTONToolbox(toolboxParams?: TONToolboxParams): {
21
21
  validateAddress: typeof validateTonAddress;
22
22
  };
23
23
  export declare function validateTonAddress(address: string): boolean;
24
- //# sourceMappingURL=toolbox.d.ts.map
@@ -20,4 +20,3 @@ export type TONTransactionMessage = {
20
20
  stateInit?: string;
21
21
  };
22
22
  export type TONWallet = ReturnType<typeof getTONToolbox>;
23
- //# sourceMappingURL=types.d.ts.map
@@ -6,4 +6,3 @@ export declare function patchTransactionRawData(rawDataHex: string, patches: {
6
6
  raw_data_hex: string;
7
7
  txID: string;
8
8
  };
9
- //# sourceMappingURL=proto.d.ts.map
@@ -21,6 +21,7 @@ export declare function getTronChainParameters(): Promise<{
21
21
  bandwidthFee: number;
22
22
  createAccountFee: number;
23
23
  energyFee: number;
24
+ memoFee: number;
24
25
  }>;
25
26
  export declare function getTronAccountResources(address: string): Promise<{
26
27
  bandwidth: {
@@ -45,4 +46,3 @@ export declare function getTrc20Allowance({ assetAddress, owner, spender, }: {
45
46
  owner: string;
46
47
  spender: string;
47
48
  }): Promise<bigint>;
48
- //# sourceMappingURL=trongrid.d.ts.map
@@ -14,4 +14,3 @@ export declare function buildTRC20Parameter(params: {
14
14
  value: string;
15
15
  }[]): string;
16
16
  export declare function memoToHex(memo: string): string;
17
- //# sourceMappingURL=utils.d.ts.map
@@ -2,4 +2,3 @@ export { getTronPrivateKeyFromMnemonic, getTronToolbox, validateTronAddress, } f
2
2
  export type { TronApprovedParams, TronApproveParams, TronCreateTransactionParams, TronIsApprovedParams, TronSignedTransaction, TronSigner, TronToolboxOptions, TronTransaction, TronTransferParams, } from "./types";
3
3
  import type { getTronToolbox } from "./toolbox";
4
4
  export type TronWallet = ReturnType<typeof getTronToolbox>;
5
- //# sourceMappingURL=index.d.ts.map
@@ -12,7 +12,7 @@ export declare function getTronToolbox(options?: TronToolboxOptions): {
12
12
  approve: ({ assetAddress, spenderAddress, amount, from }: TronApproveParams) => Promise<string>;
13
13
  broadcastTransaction: typeof broadcastTronTransaction;
14
14
  createTransaction: ({ recipient, assetValue, memo, sender, expiration }: TronCreateTransactionParams) => Promise<TronTransaction>;
15
- estimateTransactionFee: ({ assetValue, recipient, sender }: TronTransferParams & {
15
+ estimateTransactionFee: ({ assetValue, memo, recipient, sender, }: TronTransferParams & {
16
16
  sender?: string;
17
17
  }) => Promise<AssetValue>;
18
18
  getAddress: () => Promise<string>;
@@ -25,4 +25,3 @@ export declare function getTronToolbox(options?: TronToolboxOptions): {
25
25
  transfer: ({ recipient, assetValue, memo, expiration }: TronTransferParams) => Promise<string>;
26
26
  validateAddress: typeof isValidTronAddress;
27
27
  };
28
- //# sourceMappingURL=toolbox.d.ts.map
@@ -74,4 +74,3 @@ export interface TronGridAccountResponse {
74
74
  };
75
75
  }
76
76
  export {};
77
- //# sourceMappingURL=types.d.ts.map
@@ -31,4 +31,3 @@ type OtherWallets = {
31
31
  };
32
32
  export type FullWallet = BaseWallet<EVMToolboxes & UTXOToolboxes & CosmosWallets & ThorchainWallets & SubstrateToolboxes & OtherWallets>;
33
33
  export {};
34
- //# sourceMappingURL=types.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { AssetValue, type Chain } from "@swapkit/helpers";
2
2
  export declare function uniqid(): string;
3
3
  export declare function getBalance<T extends Chain>(chain: T): (address: string, scamFilter?: boolean) => Promise<AssetValue[]>;
4
- //# sourceMappingURL=utils.d.ts.map
@@ -41,4 +41,3 @@ export declare function createHDWalletHelpers({ deriveAddress, getBalance, getUt
41
41
  }) => Promise<DerivedAddress[]>;
42
42
  };
43
43
  export {};
44
- //# sourceMappingURL=hdWallet.d.ts.map
@@ -146,4 +146,3 @@ interface BlockchairAddressCoreData {
146
146
  scripthash_type: null | string;
147
147
  }
148
148
  export {};
149
- //# sourceMappingURL=api.d.ts.map