@swapkit/toolboxes 4.15.9 → 4.15.11

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 (189) hide show
  1. package/dist/src/index.cjs +1 -1
  2. package/dist/src/index.js +1 -1
  3. package/dist/src/utxo/index.cjs +1 -1
  4. package/dist/src/utxo/index.js +1 -1
  5. package/dist/types/__tests__/helpers.d.ts +0 -1
  6. package/dist/types/aptos/index.d.ts +0 -1
  7. package/dist/types/aptos/toolbox.d.ts +0 -1
  8. package/dist/types/aptos/types.d.ts +0 -1
  9. package/dist/types/cardano/index.d.ts +0 -1
  10. package/dist/types/cardano/toolbox.d.ts +0 -1
  11. package/dist/types/cardano/types.d.ts +0 -1
  12. package/dist/types/cosmos/index.d.ts +0 -1
  13. package/dist/types/cosmos/thorchainUtils/addressFormat.d.ts +0 -1
  14. package/dist/types/cosmos/thorchainUtils/index.d.ts +0 -1
  15. package/dist/types/cosmos/thorchainUtils/messages.d.ts +6 -7
  16. package/dist/types/cosmos/thorchainUtils/registry.d.ts +2 -3
  17. package/dist/types/cosmos/thorchainUtils/types/MsgCompiled.d.ts +0 -1
  18. package/dist/types/cosmos/thorchainUtils/types/client-types.d.ts +0 -1
  19. package/dist/types/cosmos/thorchainUtils/types/index.d.ts +0 -1
  20. package/dist/types/cosmos/toolbox/cosmos.d.ts +2 -3
  21. package/dist/types/cosmos/toolbox/index.d.ts +0 -1
  22. package/dist/types/cosmos/toolbox/thorchain.d.ts +7 -8
  23. package/dist/types/cosmos/types.d.ts +0 -1
  24. package/dist/types/cosmos/util.d.ts +3 -4
  25. package/dist/types/evm/api.d.ts +0 -1
  26. package/dist/types/evm/contracts/eth/multicall.d.ts +0 -1
  27. package/dist/types/evm/contracts/op/gasOracle.d.ts +0 -1
  28. package/dist/types/evm/helpers.d.ts +1 -2
  29. package/dist/types/evm/index.d.ts +0 -1
  30. package/dist/types/evm/toolbox/baseEVMToolbox.d.ts +0 -1
  31. package/dist/types/evm/toolbox/evm.d.ts +0 -1
  32. package/dist/types/evm/toolbox/index.d.ts +0 -1
  33. package/dist/types/evm/toolbox/op.d.ts +0 -1
  34. package/dist/types/evm/types.d.ts +0 -1
  35. package/dist/types/hypercore/helpers.d.ts +0 -1
  36. package/dist/types/hypercore/index.d.ts +0 -1
  37. package/dist/types/hypercore/signing.d.ts +0 -1
  38. package/dist/types/hypercore/toolbox.d.ts +0 -1
  39. package/dist/types/hypercore/types.d.ts +0 -1
  40. package/dist/types/index.d.ts +0 -1
  41. package/dist/types/near/helpers/core.d.ts +0 -1
  42. package/dist/types/near/helpers/gasEstimation.d.ts +0 -1
  43. package/dist/types/near/helpers/nep141.d.ts +0 -1
  44. package/dist/types/near/index.d.ts +0 -1
  45. package/dist/types/near/toolbox.d.ts +0 -1
  46. package/dist/types/near/types/contract.d.ts +0 -1
  47. package/dist/types/near/types/index.d.ts +0 -1
  48. package/dist/types/near/types/nep141.d.ts +0 -1
  49. package/dist/types/near/types/toolbox.d.ts +0 -1
  50. package/dist/types/near/types.d.ts +0 -1
  51. package/dist/types/radix/index.d.ts +0 -1
  52. package/dist/types/ripple/currency.d.ts +0 -1
  53. package/dist/types/ripple/index.d.ts +0 -1
  54. package/dist/types/ripple/tokens.d.ts +0 -1
  55. package/dist/types/solana/index.d.ts +0 -1
  56. package/dist/types/solana/toolbox.d.ts +0 -1
  57. package/dist/types/starknet/index.d.ts +0 -1
  58. package/dist/types/starknet/toolbox.d.ts +0 -1
  59. package/dist/types/starknet/types.d.ts +0 -1
  60. package/dist/types/stellar/index.d.ts +0 -1
  61. package/dist/types/stellar/toolbox.d.ts +0 -1
  62. package/dist/types/stellar/types.d.ts +0 -1
  63. package/dist/types/substrate/balance.d.ts +0 -1
  64. package/dist/types/substrate/index.d.ts +0 -1
  65. package/dist/types/substrate/substrate.d.ts +0 -1
  66. package/dist/types/substrate/types.d.ts +0 -1
  67. package/dist/types/sui/index.d.ts +0 -1
  68. package/dist/types/sui/toolbox.d.ts +0 -1
  69. package/dist/types/sui/types.d.ts +0 -1
  70. package/dist/types/ton/index.d.ts +0 -1
  71. package/dist/types/ton/toolbox.d.ts +0 -1
  72. package/dist/types/ton/types.d.ts +0 -1
  73. package/dist/types/tron/helpers/proto.d.ts +0 -1
  74. package/dist/types/tron/helpers/trongrid.d.ts +0 -1
  75. package/dist/types/tron/helpers/utils.d.ts +0 -1
  76. package/dist/types/tron/index.d.ts +0 -1
  77. package/dist/types/tron/toolbox.d.ts +0 -1
  78. package/dist/types/tron/types.d.ts +0 -1
  79. package/dist/types/types.d.ts +0 -1
  80. package/dist/types/utils.d.ts +0 -1
  81. package/dist/types/utxo/hdWallet.d.ts +0 -1
  82. package/dist/types/utxo/helpers/api.d.ts +0 -1
  83. package/dist/types/utxo/helpers/bchaddrjs.d.ts +1 -2
  84. package/dist/types/utxo/helpers/cashaddr.d.ts +0 -1
  85. package/dist/types/utxo/helpers/coinselect.d.ts +0 -1
  86. package/dist/types/utxo/helpers/index.d.ts +0 -1
  87. package/dist/types/utxo/helpers/txSize.d.ts +0 -1
  88. package/dist/types/utxo/helpers/xpubDerivation.d.ts +0 -1
  89. package/dist/types/utxo/index.d.ts +0 -1
  90. package/dist/types/utxo/toolbox/bitcoinCash.d.ts +3 -3
  91. package/dist/types/utxo/toolbox/index.d.ts +0 -1
  92. package/dist/types/utxo/toolbox/params.d.ts +0 -1
  93. package/dist/types/utxo/toolbox/utxo.d.ts +4 -4
  94. package/dist/types/utxo/toolbox/validators.d.ts +0 -1
  95. package/dist/types/utxo/toolbox/zcash.d.ts +1 -2
  96. package/dist/types/utxo/types.d.ts +0 -1
  97. package/package.json +77 -77
  98. package/dist/types/__tests__/helpers.d.ts.map +0 -1
  99. package/dist/types/aptos/index.d.ts.map +0 -1
  100. package/dist/types/aptos/toolbox.d.ts.map +0 -1
  101. package/dist/types/aptos/types.d.ts.map +0 -1
  102. package/dist/types/cardano/index.d.ts.map +0 -1
  103. package/dist/types/cardano/toolbox.d.ts.map +0 -1
  104. package/dist/types/cardano/types.d.ts.map +0 -1
  105. package/dist/types/cosmos/index.d.ts.map +0 -1
  106. package/dist/types/cosmos/thorchainUtils/addressFormat.d.ts.map +0 -1
  107. package/dist/types/cosmos/thorchainUtils/index.d.ts.map +0 -1
  108. package/dist/types/cosmos/thorchainUtils/messages.d.ts.map +0 -1
  109. package/dist/types/cosmos/thorchainUtils/registry.d.ts.map +0 -1
  110. package/dist/types/cosmos/thorchainUtils/types/MsgCompiled.d.ts.map +0 -1
  111. package/dist/types/cosmos/thorchainUtils/types/client-types.d.ts.map +0 -1
  112. package/dist/types/cosmos/thorchainUtils/types/index.d.ts.map +0 -1
  113. package/dist/types/cosmos/toolbox/cosmos.d.ts.map +0 -1
  114. package/dist/types/cosmos/toolbox/index.d.ts.map +0 -1
  115. package/dist/types/cosmos/toolbox/thorchain.d.ts.map +0 -1
  116. package/dist/types/cosmos/types.d.ts.map +0 -1
  117. package/dist/types/cosmos/util.d.ts.map +0 -1
  118. package/dist/types/evm/api.d.ts.map +0 -1
  119. package/dist/types/evm/contracts/eth/multicall.d.ts.map +0 -1
  120. package/dist/types/evm/contracts/op/gasOracle.d.ts.map +0 -1
  121. package/dist/types/evm/helpers.d.ts.map +0 -1
  122. package/dist/types/evm/index.d.ts.map +0 -1
  123. package/dist/types/evm/toolbox/baseEVMToolbox.d.ts.map +0 -1
  124. package/dist/types/evm/toolbox/evm.d.ts.map +0 -1
  125. package/dist/types/evm/toolbox/index.d.ts.map +0 -1
  126. package/dist/types/evm/toolbox/op.d.ts.map +0 -1
  127. package/dist/types/evm/types.d.ts.map +0 -1
  128. package/dist/types/hypercore/helpers.d.ts.map +0 -1
  129. package/dist/types/hypercore/index.d.ts.map +0 -1
  130. package/dist/types/hypercore/signing.d.ts.map +0 -1
  131. package/dist/types/hypercore/toolbox.d.ts.map +0 -1
  132. package/dist/types/hypercore/types.d.ts.map +0 -1
  133. package/dist/types/index.d.ts.map +0 -1
  134. package/dist/types/near/helpers/core.d.ts.map +0 -1
  135. package/dist/types/near/helpers/gasEstimation.d.ts.map +0 -1
  136. package/dist/types/near/helpers/nep141.d.ts.map +0 -1
  137. package/dist/types/near/index.d.ts.map +0 -1
  138. package/dist/types/near/toolbox.d.ts.map +0 -1
  139. package/dist/types/near/types/contract.d.ts.map +0 -1
  140. package/dist/types/near/types/index.d.ts.map +0 -1
  141. package/dist/types/near/types/nep141.d.ts.map +0 -1
  142. package/dist/types/near/types/toolbox.d.ts.map +0 -1
  143. package/dist/types/near/types.d.ts.map +0 -1
  144. package/dist/types/radix/index.d.ts.map +0 -1
  145. package/dist/types/ripple/currency.d.ts.map +0 -1
  146. package/dist/types/ripple/index.d.ts.map +0 -1
  147. package/dist/types/ripple/tokens.d.ts.map +0 -1
  148. package/dist/types/solana/index.d.ts.map +0 -1
  149. package/dist/types/solana/toolbox.d.ts.map +0 -1
  150. package/dist/types/starknet/index.d.ts.map +0 -1
  151. package/dist/types/starknet/toolbox.d.ts.map +0 -1
  152. package/dist/types/starknet/types.d.ts.map +0 -1
  153. package/dist/types/stellar/index.d.ts.map +0 -1
  154. package/dist/types/stellar/toolbox.d.ts.map +0 -1
  155. package/dist/types/stellar/types.d.ts.map +0 -1
  156. package/dist/types/substrate/balance.d.ts.map +0 -1
  157. package/dist/types/substrate/index.d.ts.map +0 -1
  158. package/dist/types/substrate/substrate.d.ts.map +0 -1
  159. package/dist/types/substrate/types.d.ts.map +0 -1
  160. package/dist/types/sui/index.d.ts.map +0 -1
  161. package/dist/types/sui/toolbox.d.ts.map +0 -1
  162. package/dist/types/sui/types.d.ts.map +0 -1
  163. package/dist/types/ton/index.d.ts.map +0 -1
  164. package/dist/types/ton/toolbox.d.ts.map +0 -1
  165. package/dist/types/ton/types.d.ts.map +0 -1
  166. package/dist/types/tron/helpers/proto.d.ts.map +0 -1
  167. package/dist/types/tron/helpers/trongrid.d.ts.map +0 -1
  168. package/dist/types/tron/helpers/utils.d.ts.map +0 -1
  169. package/dist/types/tron/index.d.ts.map +0 -1
  170. package/dist/types/tron/toolbox.d.ts.map +0 -1
  171. package/dist/types/tron/types.d.ts.map +0 -1
  172. package/dist/types/types.d.ts.map +0 -1
  173. package/dist/types/utils.d.ts.map +0 -1
  174. package/dist/types/utxo/hdWallet.d.ts.map +0 -1
  175. package/dist/types/utxo/helpers/api.d.ts.map +0 -1
  176. package/dist/types/utxo/helpers/bchaddrjs.d.ts.map +0 -1
  177. package/dist/types/utxo/helpers/cashaddr.d.ts.map +0 -1
  178. package/dist/types/utxo/helpers/coinselect.d.ts.map +0 -1
  179. package/dist/types/utxo/helpers/index.d.ts.map +0 -1
  180. package/dist/types/utxo/helpers/txSize.d.ts.map +0 -1
  181. package/dist/types/utxo/helpers/xpubDerivation.d.ts.map +0 -1
  182. package/dist/types/utxo/index.d.ts.map +0 -1
  183. package/dist/types/utxo/toolbox/bitcoinCash.d.ts.map +0 -1
  184. package/dist/types/utxo/toolbox/index.d.ts.map +0 -1
  185. package/dist/types/utxo/toolbox/params.d.ts.map +0 -1
  186. package/dist/types/utxo/toolbox/utxo.d.ts.map +0 -1
  187. package/dist/types/utxo/toolbox/validators.d.ts.map +0 -1
  188. package/dist/types/utxo/toolbox/zcash.d.ts.map +0 -1
  189. package/dist/types/utxo/types.d.ts.map +0 -1
@@ -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
@@ -45,4 +45,3 @@ export declare function getTrc20Allowance({ assetAddress, owner, spender, }: {
45
45
  owner: string;
46
46
  spender: string;
47
47
  }): 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
@@ -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
@@ -6,5 +6,4 @@ declare function isValidAddress(input: any): boolean;
6
6
  declare function detectAddressNetwork(address: string): UtxoNetwork;
7
7
  declare function toLegacyAddress(address: string): string;
8
8
  declare function toCashAddress(address: string): string;
9
- export { detectAddressNetwork, isValidAddress, UtxoNetwork, toCashAddress, toLegacyAddress };
10
- //# sourceMappingURL=bchaddrjs.d.ts.map
9
+ export { detectAddressNetwork, isValidAddress, toCashAddress, toLegacyAddress, UtxoNetwork };
@@ -10,4 +10,3 @@ export declare const cashaddr: {
10
10
  encode: typeof encode;
11
11
  };
12
12
  export {};
13
- //# sourceMappingURL=cashaddr.d.ts.map
@@ -18,4 +18,3 @@ export declare function accumulative<T extends UTXOSizeInput>({ inputs, outputs,
18
18
  outputs?: undefined;
19
19
  };
20
20
  export {};
21
- //# sourceMappingURL=coinselect.d.ts.map
@@ -2,4 +2,3 @@ export * from "./api";
2
2
  export * from "./bchaddrjs";
3
3
  export * from "./coinselect";
4
4
  export * from "./txSize";
5
- //# sourceMappingURL=index.d.ts.map
@@ -19,4 +19,3 @@ export declare const getScriptTypeForAddress: (address: string) => UTXOScriptTyp
19
19
  export declare const calculateTxSize: ({ inputs, outputs, feeRate }: UTXOCalculateTxSizeParams) => number;
20
20
  export declare const getInputSize: (input: UTXOInputWithScriptType | UTXOType | UTXOSizeInput) => number;
21
21
  export declare const getOutputSize: (output: TargetOutput, scriptType?: UTXOScriptType) => number;
22
- //# sourceMappingURL=txSize.d.ts.map
@@ -7,4 +7,3 @@ export type DeriveAddressesFromXpubParams = HDWalletAccountParams & {
7
7
  startIndex?: number;
8
8
  };
9
9
  export declare function deriveAddressesFromXpub({ xpub, chain, count, startIndex, accountIndex, }: DeriveAddressesFromXpubParams): DerivedAddress[];
10
- //# sourceMappingURL=xpubDerivation.d.ts.map
@@ -5,4 +5,3 @@ export * from "./toolbox/bitcoinCash";
5
5
  export { addInputsAndOutputs, addressFromKeysGetter, createUTXOToolbox, getNetworkForChain, getUTXOAddressValidator, nonSegwitChains, validateUtxoAddress, } from "./toolbox/utxo";
6
6
  export * from "./toolbox/zcash";
7
7
  export * from "./types";
8
- //# sourceMappingURL=index.d.ts.map
@@ -22,6 +22,7 @@ export declare function createBCHToolbox<T extends typeof Chain.BitcoinCash>(too
22
22
  fastest: number;
23
23
  }>;
24
24
  signAndBroadcastTransaction: (tx: InstanceType<typeof Transaction>) => Promise<string>;
25
+ signTransaction: (tx: InstanceType<typeof Transaction>) => any;
25
26
  stripPrefix: typeof stripPrefix;
26
27
  stripToCashAddress: typeof stripToCashAddress;
27
28
  transfer: ({ recipient, assetValue, feeOptionKey, ...rest }: UTXOTransferParams) => Promise<string>;
@@ -39,7 +40,7 @@ export declare function createBCHToolbox<T extends typeof Chain.BitcoinCash>(too
39
40
  derivationPath?: string;
40
41
  }) => {
41
42
  privateKey: import("@swapkit/utxo-signer/utils").Bytes;
42
- publicKey: Uint8Array<ArrayBufferLike>;
43
+ publicKey: Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>;
43
44
  };
44
45
  createReplacementTransaction: ({ txid, newFeeRate, recipient, memo, }: import("..").RBFTransactionParams) => Promise<import("./utxo").ReplacementTransactionResult>;
45
46
  deriveAddressAtIndex: ({ accountIndex, index, change }: import("..").DeriveAddressParams) => {
@@ -105,7 +106,7 @@ export declare function createBCHToolbox<T extends typeof Chain.BitcoinCash>(too
105
106
  isRBFEnabled: (txid: string) => Promise<import("./utxo").RBFStatusResult>;
106
107
  keys: {
107
108
  privateKey: import("@swapkit/utxo-signer/utils").Bytes;
108
- publicKey: Uint8Array<ArrayBufferLike>;
109
+ publicKey: Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>;
109
110
  } | undefined;
110
111
  resolveDerivationIndex: ({ address, gapLimit }: import("..").ResolveDerivationParams) => {
111
112
  change: boolean;
@@ -159,4 +160,3 @@ declare function getAddressFromKeys(keys: {
159
160
  publicKey: Uint8Array;
160
161
  }): string;
161
162
  export {};
162
- //# sourceMappingURL=bitcoinCash.d.ts.map
@@ -27,4 +27,3 @@ export { type DeriveAddressesFromXpubParams, deriveAddressesFromXpub } from "../
27
27
  export { stripToCashAddress } from "./bitcoinCash";
28
28
  export * from "./params";
29
29
  export { stripPrefix, validateBchAddress, validateZcashAddress } from "./validators";
30
- //# sourceMappingURL=index.d.ts.map
@@ -21,4 +21,3 @@ export type UtxoToolboxParams = {
21
21
  signer?: ZcashSigner;
22
22
  };
23
23
  };
24
- //# sourceMappingURL=params.d.ts.map
@@ -23,7 +23,7 @@ export declare function createKeysForPath({ phrase, derivationPath, chain, wif,
23
23
  seed?: Uint8Array;
24
24
  }): {
25
25
  privateKey: import("@swapkit/utxo-signer/utils").Bytes;
26
- publicKey: Uint8Array<ArrayBufferLike>;
26
+ publicKey: Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>;
27
27
  };
28
28
  export declare function addInputsAndOutputs({ inputs, outputs, chain, tx, sender, compiledMemo, enableRBF, }: {
29
29
  inputs: UTXOType[];
@@ -121,7 +121,7 @@ export declare function createUTXOToolbox<T extends UTXOChain>({ chain, ...toolb
121
121
  derivationPath?: string;
122
122
  }) => {
123
123
  privateKey: import("@swapkit/utxo-signer/utils").Bytes;
124
- publicKey: Uint8Array<ArrayBufferLike>;
124
+ publicKey: Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>;
125
125
  };
126
126
  createReplacementTransaction: ({ txid, newFeeRate, recipient, memo, }: RBFTransactionParams) => Promise<ReplacementTransactionResult>;
127
127
  createTransaction: typeof createTransaction;
@@ -177,13 +177,14 @@ export declare function createUTXOToolbox<T extends UTXOChain>({ chain, ...toolb
177
177
  isRBFEnabled: (txid: string) => Promise<RBFStatusResult>;
178
178
  keys: {
179
179
  privateKey: import("@swapkit/utxo-signer/utils").Bytes;
180
- publicKey: Uint8Array<ArrayBufferLike>;
180
+ publicKey: Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>;
181
181
  } | undefined;
182
182
  resolveDerivationIndex: ({ address, gapLimit }: ResolveDerivationParams) => {
183
183
  change: boolean;
184
184
  index: number;
185
185
  } | undefined;
186
186
  signAndBroadcastTransaction: (tx: InstanceType<typeof Transaction>) => Promise<string>;
187
+ signTransaction: (tx: InstanceType<typeof Transaction>) => Transaction | Promise<Transaction>;
187
188
  signTransactionWithMultipleKeys: ({ tx, inputDerivations, }: {
188
189
  tx: InstanceType<typeof Transaction>;
189
190
  inputDerivations: InputDerivation[];
@@ -203,4 +204,3 @@ export declare function createUTXOToolbox<T extends UTXOChain>({ chain, ...toolb
203
204
  validateAddress: (address: string) => boolean;
204
205
  };
205
206
  export {};
206
- //# sourceMappingURL=utxo.d.ts.map
@@ -1,4 +1,3 @@
1
1
  export declare function stripPrefix(address: string): string;
2
2
  export declare function validateBchAddress(address: string): boolean;
3
3
  export declare function validateZcashAddress(address: string): boolean;
4
- //# sourceMappingURL=validators.d.ts.map
@@ -110,7 +110,7 @@ export declare function createZcashToolbox(toolboxParams: {
110
110
  isRBFEnabled: (txid: string) => Promise<import("./utxo").RBFStatusResult>;
111
111
  keys: {
112
112
  privateKey: import("@swapkit/utxo-signer/utils").Bytes;
113
- publicKey: Uint8Array<ArrayBufferLike>;
113
+ publicKey: Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>;
114
114
  } | undefined;
115
115
  resolveDerivationIndex: ({ address, gapLimit }: import("..").ResolveDerivationParams) => {
116
116
  change: boolean;
@@ -131,4 +131,3 @@ export declare function createZcashToolbox(toolboxParams: {
131
131
  }) => Promise<string>;
132
132
  };
133
133
  export {};
134
- //# sourceMappingURL=zcash.d.ts.map
@@ -113,4 +113,3 @@ export type UTXOHDWalletMethods = {
113
113
  getAggregatedBalance: (gapLimit?: number) => Promise<AggregatedBalanceResult>;
114
114
  getAggregatedUtxos: (gapLimit?: number) => Promise<UTXOWithDerivation[]>;
115
115
  };
116
- //# sourceMappingURL=types.d.ts.map