@multiversx/sdk-dapp-liquidity 2.0.0 → 2.1.0-alpha.0

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 (85) hide show
  1. package/helpers/assertRateConfirmationMatchesIntent.d.ts +8 -0
  2. package/helpers/assertRateConfirmationMatchesIntent.js +24 -0
  3. package/helpers/assertRateConfirmationMatchesIntent.mjs +23 -0
  4. package/helpers/index.d.ts +2 -0
  5. package/helpers/index.js +4 -0
  6. package/helpers/index.mjs +4 -0
  7. package/helpers/safeImageUrl.d.ts +1 -0
  8. package/helpers/safeImageUrl.js +24 -0
  9. package/helpers/safeImageUrl.mjs +23 -0
  10. package/helpers/serializeTransaction.js +1 -1
  11. package/helpers/serializeTransaction.mjs +1 -1
  12. package/helpers/tests/assertRateConfirmationMatchesIntent.spec.d.ts +1 -0
  13. package/helpers/tests/assertRateConfirmationMatchesIntent.spec.js +64 -0
  14. package/helpers/tests/assertRateConfirmationMatchesIntent.spec.mjs +62 -0
  15. package/helpers/tests/safeImageUrl.spec.d.ts +1 -0
  16. package/helpers/tests/safeImageUrl.spec.js +49 -0
  17. package/helpers/tests/safeImageUrl.spec.mjs +47 -0
  18. package/helpers/tests/serializeTransaction.spec.d.ts +1 -0
  19. package/helpers/tests/serializeTransaction.spec.js +37 -0
  20. package/helpers/tests/serializeTransaction.spec.mjs +35 -0
  21. package/index.js +7 -3
  22. package/index.mjs +10 -6
  23. package/package.json +13 -8
  24. package/react.esm-7GsOwMPq.js +11815 -0
  25. package/react.esm-CU-Iqz8D.mjs +11796 -0
  26. package/reactjs/adapters/SuiAdapter.d.ts +14 -0
  27. package/reactjs/adapters/SuiAdapter.js +31 -2
  28. package/reactjs/adapters/SuiAdapter.mjs +31 -2
  29. package/reactjs/components/BridgeForm/Deposit.js +9 -7
  30. package/reactjs/components/BridgeForm/Deposit.mjs +8 -6
  31. package/reactjs/components/BridgeForm/Transfer.js +8 -6
  32. package/reactjs/components/BridgeForm/Transfer.mjs +7 -5
  33. package/reactjs/components/BridgeHistory/BridgeHistory.js +20 -6
  34. package/reactjs/components/BridgeHistory/BridgeHistory.mjs +20 -6
  35. package/reactjs/components/Connect/BridgeConnectButton.js +2 -1
  36. package/reactjs/components/Connect/BridgeConnectButton.mjs +2 -1
  37. package/reactjs/components/CopyButton/CopyButton.mjs +2 -2
  38. package/reactjs/components/TokenSelector/components/ChainSelect/components/ChainOptionLabel.js +5 -1
  39. package/reactjs/components/TokenSelector/components/ChainSelect/components/ChainOptionLabel.mjs +6 -2
  40. package/reactjs/components/TokenSelector/components/ChainSelect/components/SelectedChainOption.js +5 -1
  41. package/reactjs/components/TokenSelector/components/ChainSelect/components/SelectedChainOption.mjs +6 -2
  42. package/reactjs/components/TokenSelector/components/TokenIcon.js +2 -1
  43. package/reactjs/components/TokenSelector/components/TokenIcon.mjs +2 -1
  44. package/reactjs/context/Web3AppProvider.js +4 -2
  45. package/reactjs/context/Web3AppProvider.mjs +6 -4
  46. package/reactjs/hooks/tests/useGenericSignMessage.spec.d.ts +1 -0
  47. package/reactjs/hooks/tests/useGenericSignMessage.spec.js +69 -0
  48. package/reactjs/hooks/tests/useGenericSignMessage.spec.mjs +67 -0
  49. package/reactjs/hooks/tests/useSignTransaction.spec.d.ts +1 -0
  50. package/reactjs/hooks/tests/useSignTransaction.spec.js +196 -0
  51. package/reactjs/hooks/tests/useSignTransaction.spec.mjs +194 -0
  52. package/reactjs/hooks/useBridgeFormik.js +5 -0
  53. package/reactjs/hooks/useBridgeFormik.mjs +5 -0
  54. package/reactjs/hooks/useFetchTokens.js +4 -2
  55. package/reactjs/hooks/useFetchTokens.mjs +4 -2
  56. package/reactjs/hooks/useGenericSignMessage.js +23 -3
  57. package/reactjs/hooks/useGenericSignMessage.mjs +23 -3
  58. package/reactjs/hooks/useSignTransaction.js +27 -1
  59. package/reactjs/hooks/useSignTransaction.mjs +28 -2
  60. package/reactjs/index.js +3 -3
  61. package/reactjs/index.mjs +6 -6
  62. package/reactjs/init/init.d.ts +1 -0
  63. package/reactjs/init/init.js +11 -3
  64. package/reactjs/init/init.mjs +11 -3
  65. package/reactjs/queries/index.js +3 -3
  66. package/reactjs/queries/index.mjs +7 -7
  67. package/reactjs/queries/useCheckAccount.query.js +1 -1
  68. package/reactjs/queries/useCheckAccount.query.mjs +1 -1
  69. package/reactjs/queries/useGetAllTokens.query.js +1 -1
  70. package/reactjs/queries/useGetAllTokens.query.mjs +1 -1
  71. package/reactjs/queries/useGetChains.query.js +1 -1
  72. package/reactjs/queries/useGetChains.query.mjs +1 -1
  73. package/reactjs/queries/useGetHistory.query.d.ts +1 -1
  74. package/reactjs/queries/useGetHistory.query.js +10 -9
  75. package/reactjs/queries/useGetHistory.query.mjs +12 -11
  76. package/reactjs/queries/useGetMvxTokensBalances.query.d.ts +1 -1
  77. package/reactjs/queries/useGetMvxTokensBalances.query.js +9 -14
  78. package/reactjs/queries/useGetMvxTokensBalances.query.mjs +12 -17
  79. package/reactjs/queries/useGetNonMvxTokensBalances.query.d.ts +1 -1
  80. package/reactjs/queries/useGetNonMvxTokensBalances.query.js +8 -8
  81. package/reactjs/queries/useGetNonMvxTokensBalances.query.mjs +11 -11
  82. package/types/errors.d.ts +3 -0
  83. package/types/errors.js +10 -0
  84. package/types/errors.mjs +9 -0
  85. package/reactjs/hooks/useSignTransaction.d.ts +0 -511
@@ -1,511 +0,0 @@
1
- import { TransactionInstructionCtorFields } from '@solana/web3.js';
2
- import { Provider } from '@reown/appkit-adapter-solana/react';
3
- import { BitcoinConnector } from '@reown/appkit-adapter-bitcoin';
4
-
5
- export declare const useSignTransaction: () => {
6
- evm: {
7
- error: null;
8
- status: "idle";
9
- reset: () => void;
10
- context: unknown;
11
- variables: undefined;
12
- isError: false;
13
- isIdle: true;
14
- isPending: false;
15
- isSuccess: false;
16
- failureCount: number;
17
- failureReason: import('@wagmi/core').SendTransactionErrorType | null;
18
- isPaused: boolean;
19
- submittedAt: number;
20
- mutate: import('wagmi/query').SendTransactionMutate<import('wagmi').Config, unknown>;
21
- mutateAsync: import('wagmi/query').SendTransactionMutateAsync<import('wagmi').Config, unknown>;
22
- sendTransaction: import('wagmi/query').SendTransactionMutate<import('wagmi').Config, unknown>;
23
- hash: `0x${string}` | undefined;
24
- signTransaction: import('wagmi/query').SendTransactionMutateAsync<import('wagmi').Config, unknown>;
25
- } | {
26
- error: null;
27
- status: "pending";
28
- reset: () => void;
29
- context: unknown;
30
- variables: {
31
- gasPrice?: bigint | undefined;
32
- maxFeePerBlobGas?: undefined | undefined;
33
- maxFeePerGas?: undefined | undefined;
34
- maxPriorityFeePerGas?: undefined | undefined;
35
- type?: "legacy" | undefined;
36
- nonce?: number | undefined;
37
- to?: `0x${string}` | null | undefined;
38
- value?: bigint | undefined;
39
- accessList?: undefined;
40
- authorizationList?: undefined;
41
- blobVersionedHashes?: undefined;
42
- data?: `0x${string}` | undefined;
43
- blobs?: undefined;
44
- kzg?: undefined;
45
- sidecars?: undefined;
46
- account?: `0x${string}` | import('viem').Account | null | undefined;
47
- dataSuffix?: `0x${string}` | undefined;
48
- assertChainId?: boolean | undefined | undefined;
49
- chainId?: number | undefined;
50
- connector?: import('wagmi').Connector | undefined;
51
- gas?: bigint | null | undefined;
52
- } | {
53
- gasPrice?: bigint | undefined;
54
- maxFeePerBlobGas?: undefined | undefined;
55
- maxFeePerGas?: undefined | undefined;
56
- maxPriorityFeePerGas?: undefined | undefined;
57
- type?: "eip2930" | undefined;
58
- nonce?: number | undefined;
59
- to?: `0x${string}` | null | undefined;
60
- value?: bigint | undefined;
61
- accessList?: import('viem').AccessList | undefined;
62
- authorizationList?: undefined;
63
- blobVersionedHashes?: undefined;
64
- data?: `0x${string}` | undefined;
65
- blobs?: undefined;
66
- kzg?: undefined;
67
- sidecars?: undefined;
68
- account?: `0x${string}` | import('viem').Account | null | undefined;
69
- dataSuffix?: `0x${string}` | undefined;
70
- assertChainId?: boolean | undefined | undefined;
71
- chainId?: number | undefined;
72
- connector?: import('wagmi').Connector | undefined;
73
- gas?: bigint | null | undefined;
74
- } | {
75
- gasPrice?: undefined | undefined;
76
- maxFeePerBlobGas?: undefined | undefined;
77
- maxFeePerGas?: bigint | undefined;
78
- maxPriorityFeePerGas?: bigint | undefined;
79
- type?: "eip1559" | undefined;
80
- nonce?: number | undefined;
81
- to?: `0x${string}` | null | undefined;
82
- value?: bigint | undefined;
83
- accessList?: import('viem').AccessList | undefined;
84
- authorizationList?: undefined;
85
- blobVersionedHashes?: undefined;
86
- data?: `0x${string}` | undefined;
87
- blobs?: undefined;
88
- kzg?: undefined;
89
- sidecars?: undefined;
90
- account?: `0x${string}` | import('viem').Account | null | undefined;
91
- dataSuffix?: `0x${string}` | undefined;
92
- assertChainId?: boolean | undefined | undefined;
93
- chainId?: number | undefined;
94
- connector?: import('wagmi').Connector | undefined;
95
- gas?: bigint | null | undefined;
96
- } | {
97
- gasPrice?: undefined | undefined;
98
- maxFeePerBlobGas?: bigint | undefined;
99
- maxFeePerGas?: bigint | undefined;
100
- maxPriorityFeePerGas?: bigint | undefined;
101
- type?: "eip4844" | undefined;
102
- nonce?: number | undefined;
103
- to: `0x${string}` | null;
104
- value?: bigint | undefined;
105
- accessList?: import('viem').AccessList | undefined;
106
- authorizationList?: undefined;
107
- blobVersionedHashes: readonly import('viem').Hex[];
108
- data?: `0x${string}` | undefined;
109
- blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
110
- kzg?: undefined;
111
- sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
112
- account?: `0x${string}` | import('viem').Account | null | undefined;
113
- dataSuffix?: `0x${string}` | undefined;
114
- assertChainId?: boolean | undefined | undefined;
115
- chainId?: number | undefined;
116
- connector?: import('wagmi').Connector | undefined;
117
- gas?: bigint | null | undefined;
118
- } | {
119
- gasPrice?: undefined | undefined;
120
- maxFeePerBlobGas?: bigint | undefined;
121
- maxFeePerGas?: bigint | undefined;
122
- maxPriorityFeePerGas?: bigint | undefined;
123
- type?: "eip4844" | undefined;
124
- nonce?: number | undefined;
125
- to: `0x${string}` | null;
126
- value?: bigint | undefined;
127
- accessList?: import('viem').AccessList | undefined;
128
- authorizationList?: undefined;
129
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
130
- data?: `0x${string}` | undefined;
131
- blobs: readonly import('viem').Hex[] | readonly import('viem').ByteArray[];
132
- kzg?: import('viem').Kzg | undefined;
133
- sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
134
- account?: `0x${string}` | import('viem').Account | null | undefined;
135
- dataSuffix?: `0x${string}` | undefined;
136
- assertChainId?: boolean | undefined | undefined;
137
- chainId?: number | undefined;
138
- connector?: import('wagmi').Connector | undefined;
139
- gas?: bigint | null | undefined;
140
- } | {
141
- gasPrice?: undefined | undefined;
142
- maxFeePerBlobGas?: undefined | undefined;
143
- maxFeePerGas?: bigint | undefined;
144
- maxPriorityFeePerGas?: bigint | undefined;
145
- type?: "eip7702" | undefined;
146
- nonce?: number | undefined;
147
- to?: `0x${string}` | null | undefined;
148
- value?: bigint | undefined;
149
- accessList?: import('viem').AccessList | undefined;
150
- authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
151
- blobVersionedHashes?: undefined;
152
- data?: `0x${string}` | undefined;
153
- blobs?: undefined;
154
- kzg?: undefined;
155
- sidecars?: undefined;
156
- account?: `0x${string}` | import('viem').Account | null | undefined;
157
- dataSuffix?: `0x${string}` | undefined;
158
- assertChainId?: boolean | undefined | undefined;
159
- chainId?: number | undefined;
160
- connector?: import('wagmi').Connector | undefined;
161
- gas?: bigint | null | undefined;
162
- };
163
- isError: false;
164
- isIdle: false;
165
- isPending: true;
166
- isSuccess: false;
167
- failureCount: number;
168
- failureReason: import('@wagmi/core').SendTransactionErrorType | null;
169
- isPaused: boolean;
170
- submittedAt: number;
171
- mutate: import('wagmi/query').SendTransactionMutate<import('wagmi').Config, unknown>;
172
- mutateAsync: import('wagmi/query').SendTransactionMutateAsync<import('wagmi').Config, unknown>;
173
- sendTransaction: import('wagmi/query').SendTransactionMutate<import('wagmi').Config, unknown>;
174
- hash: `0x${string}` | undefined;
175
- signTransaction: import('wagmi/query').SendTransactionMutateAsync<import('wagmi').Config, unknown>;
176
- } | {
177
- error: import('@wagmi/core').SendTransactionErrorType;
178
- status: "error";
179
- reset: () => void;
180
- context: unknown;
181
- variables: {
182
- gasPrice?: bigint | undefined;
183
- maxFeePerBlobGas?: undefined | undefined;
184
- maxFeePerGas?: undefined | undefined;
185
- maxPriorityFeePerGas?: undefined | undefined;
186
- type?: "legacy" | undefined;
187
- nonce?: number | undefined;
188
- to?: `0x${string}` | null | undefined;
189
- value?: bigint | undefined;
190
- accessList?: undefined;
191
- authorizationList?: undefined;
192
- blobVersionedHashes?: undefined;
193
- data?: `0x${string}` | undefined;
194
- blobs?: undefined;
195
- kzg?: undefined;
196
- sidecars?: undefined;
197
- account?: `0x${string}` | import('viem').Account | null | undefined;
198
- dataSuffix?: `0x${string}` | undefined;
199
- assertChainId?: boolean | undefined | undefined;
200
- chainId?: number | undefined;
201
- connector?: import('wagmi').Connector | undefined;
202
- gas?: bigint | null | undefined;
203
- } | {
204
- gasPrice?: bigint | undefined;
205
- maxFeePerBlobGas?: undefined | undefined;
206
- maxFeePerGas?: undefined | undefined;
207
- maxPriorityFeePerGas?: undefined | undefined;
208
- type?: "eip2930" | undefined;
209
- nonce?: number | undefined;
210
- to?: `0x${string}` | null | undefined;
211
- value?: bigint | undefined;
212
- accessList?: import('viem').AccessList | undefined;
213
- authorizationList?: undefined;
214
- blobVersionedHashes?: undefined;
215
- data?: `0x${string}` | undefined;
216
- blobs?: undefined;
217
- kzg?: undefined;
218
- sidecars?: undefined;
219
- account?: `0x${string}` | import('viem').Account | null | undefined;
220
- dataSuffix?: `0x${string}` | undefined;
221
- assertChainId?: boolean | undefined | undefined;
222
- chainId?: number | undefined;
223
- connector?: import('wagmi').Connector | undefined;
224
- gas?: bigint | null | undefined;
225
- } | {
226
- gasPrice?: undefined | undefined;
227
- maxFeePerBlobGas?: undefined | undefined;
228
- maxFeePerGas?: bigint | undefined;
229
- maxPriorityFeePerGas?: bigint | undefined;
230
- type?: "eip1559" | undefined;
231
- nonce?: number | undefined;
232
- to?: `0x${string}` | null | undefined;
233
- value?: bigint | undefined;
234
- accessList?: import('viem').AccessList | undefined;
235
- authorizationList?: undefined;
236
- blobVersionedHashes?: undefined;
237
- data?: `0x${string}` | undefined;
238
- blobs?: undefined;
239
- kzg?: undefined;
240
- sidecars?: undefined;
241
- account?: `0x${string}` | import('viem').Account | null | undefined;
242
- dataSuffix?: `0x${string}` | undefined;
243
- assertChainId?: boolean | undefined | undefined;
244
- chainId?: number | undefined;
245
- connector?: import('wagmi').Connector | undefined;
246
- gas?: bigint | null | undefined;
247
- } | {
248
- gasPrice?: undefined | undefined;
249
- maxFeePerBlobGas?: bigint | undefined;
250
- maxFeePerGas?: bigint | undefined;
251
- maxPriorityFeePerGas?: bigint | undefined;
252
- type?: "eip4844" | undefined;
253
- nonce?: number | undefined;
254
- to: `0x${string}` | null;
255
- value?: bigint | undefined;
256
- accessList?: import('viem').AccessList | undefined;
257
- authorizationList?: undefined;
258
- blobVersionedHashes: readonly import('viem').Hex[];
259
- data?: `0x${string}` | undefined;
260
- blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
261
- kzg?: undefined;
262
- sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
263
- account?: `0x${string}` | import('viem').Account | null | undefined;
264
- dataSuffix?: `0x${string}` | undefined;
265
- assertChainId?: boolean | undefined | undefined;
266
- chainId?: number | undefined;
267
- connector?: import('wagmi').Connector | undefined;
268
- gas?: bigint | null | undefined;
269
- } | {
270
- gasPrice?: undefined | undefined;
271
- maxFeePerBlobGas?: bigint | undefined;
272
- maxFeePerGas?: bigint | undefined;
273
- maxPriorityFeePerGas?: bigint | undefined;
274
- type?: "eip4844" | undefined;
275
- nonce?: number | undefined;
276
- to: `0x${string}` | null;
277
- value?: bigint | undefined;
278
- accessList?: import('viem').AccessList | undefined;
279
- authorizationList?: undefined;
280
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
281
- data?: `0x${string}` | undefined;
282
- blobs: readonly import('viem').Hex[] | readonly import('viem').ByteArray[];
283
- kzg?: import('viem').Kzg | undefined;
284
- sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
285
- account?: `0x${string}` | import('viem').Account | null | undefined;
286
- dataSuffix?: `0x${string}` | undefined;
287
- assertChainId?: boolean | undefined | undefined;
288
- chainId?: number | undefined;
289
- connector?: import('wagmi').Connector | undefined;
290
- gas?: bigint | null | undefined;
291
- } | {
292
- gasPrice?: undefined | undefined;
293
- maxFeePerBlobGas?: undefined | undefined;
294
- maxFeePerGas?: bigint | undefined;
295
- maxPriorityFeePerGas?: bigint | undefined;
296
- type?: "eip7702" | undefined;
297
- nonce?: number | undefined;
298
- to?: `0x${string}` | null | undefined;
299
- value?: bigint | undefined;
300
- accessList?: import('viem').AccessList | undefined;
301
- authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
302
- blobVersionedHashes?: undefined;
303
- data?: `0x${string}` | undefined;
304
- blobs?: undefined;
305
- kzg?: undefined;
306
- sidecars?: undefined;
307
- account?: `0x${string}` | import('viem').Account | null | undefined;
308
- dataSuffix?: `0x${string}` | undefined;
309
- assertChainId?: boolean | undefined | undefined;
310
- chainId?: number | undefined;
311
- connector?: import('wagmi').Connector | undefined;
312
- gas?: bigint | null | undefined;
313
- };
314
- isError: true;
315
- isIdle: false;
316
- isPending: false;
317
- isSuccess: false;
318
- failureCount: number;
319
- failureReason: import('@wagmi/core').SendTransactionErrorType | null;
320
- isPaused: boolean;
321
- submittedAt: number;
322
- mutate: import('wagmi/query').SendTransactionMutate<import('wagmi').Config, unknown>;
323
- mutateAsync: import('wagmi/query').SendTransactionMutateAsync<import('wagmi').Config, unknown>;
324
- sendTransaction: import('wagmi/query').SendTransactionMutate<import('wagmi').Config, unknown>;
325
- hash: `0x${string}` | undefined;
326
- signTransaction: import('wagmi/query').SendTransactionMutateAsync<import('wagmi').Config, unknown>;
327
- } | {
328
- error: null;
329
- status: "success";
330
- reset: () => void;
331
- context: unknown;
332
- variables: {
333
- gasPrice?: bigint | undefined;
334
- maxFeePerBlobGas?: undefined | undefined;
335
- maxFeePerGas?: undefined | undefined;
336
- maxPriorityFeePerGas?: undefined | undefined;
337
- type?: "legacy" | undefined;
338
- nonce?: number | undefined;
339
- to?: `0x${string}` | null | undefined;
340
- value?: bigint | undefined;
341
- accessList?: undefined;
342
- authorizationList?: undefined;
343
- blobVersionedHashes?: undefined;
344
- data?: `0x${string}` | undefined;
345
- blobs?: undefined;
346
- kzg?: undefined;
347
- sidecars?: undefined;
348
- account?: `0x${string}` | import('viem').Account | null | undefined;
349
- dataSuffix?: `0x${string}` | undefined;
350
- assertChainId?: boolean | undefined | undefined;
351
- chainId?: number | undefined;
352
- connector?: import('wagmi').Connector | undefined;
353
- gas?: bigint | null | undefined;
354
- } | {
355
- gasPrice?: bigint | undefined;
356
- maxFeePerBlobGas?: undefined | undefined;
357
- maxFeePerGas?: undefined | undefined;
358
- maxPriorityFeePerGas?: undefined | undefined;
359
- type?: "eip2930" | undefined;
360
- nonce?: number | undefined;
361
- to?: `0x${string}` | null | undefined;
362
- value?: bigint | undefined;
363
- accessList?: import('viem').AccessList | undefined;
364
- authorizationList?: undefined;
365
- blobVersionedHashes?: undefined;
366
- data?: `0x${string}` | undefined;
367
- blobs?: undefined;
368
- kzg?: undefined;
369
- sidecars?: undefined;
370
- account?: `0x${string}` | import('viem').Account | null | undefined;
371
- dataSuffix?: `0x${string}` | undefined;
372
- assertChainId?: boolean | undefined | undefined;
373
- chainId?: number | undefined;
374
- connector?: import('wagmi').Connector | undefined;
375
- gas?: bigint | null | undefined;
376
- } | {
377
- gasPrice?: undefined | undefined;
378
- maxFeePerBlobGas?: undefined | undefined;
379
- maxFeePerGas?: bigint | undefined;
380
- maxPriorityFeePerGas?: bigint | undefined;
381
- type?: "eip1559" | undefined;
382
- nonce?: number | undefined;
383
- to?: `0x${string}` | null | undefined;
384
- value?: bigint | undefined;
385
- accessList?: import('viem').AccessList | undefined;
386
- authorizationList?: undefined;
387
- blobVersionedHashes?: undefined;
388
- data?: `0x${string}` | undefined;
389
- blobs?: undefined;
390
- kzg?: undefined;
391
- sidecars?: undefined;
392
- account?: `0x${string}` | import('viem').Account | null | undefined;
393
- dataSuffix?: `0x${string}` | undefined;
394
- assertChainId?: boolean | undefined | undefined;
395
- chainId?: number | undefined;
396
- connector?: import('wagmi').Connector | undefined;
397
- gas?: bigint | null | undefined;
398
- } | {
399
- gasPrice?: undefined | undefined;
400
- maxFeePerBlobGas?: bigint | undefined;
401
- maxFeePerGas?: bigint | undefined;
402
- maxPriorityFeePerGas?: bigint | undefined;
403
- type?: "eip4844" | undefined;
404
- nonce?: number | undefined;
405
- to: `0x${string}` | null;
406
- value?: bigint | undefined;
407
- accessList?: import('viem').AccessList | undefined;
408
- authorizationList?: undefined;
409
- blobVersionedHashes: readonly import('viem').Hex[];
410
- data?: `0x${string}` | undefined;
411
- blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
412
- kzg?: undefined;
413
- sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
414
- account?: `0x${string}` | import('viem').Account | null | undefined;
415
- dataSuffix?: `0x${string}` | undefined;
416
- assertChainId?: boolean | undefined | undefined;
417
- chainId?: number | undefined;
418
- connector?: import('wagmi').Connector | undefined;
419
- gas?: bigint | null | undefined;
420
- } | {
421
- gasPrice?: undefined | undefined;
422
- maxFeePerBlobGas?: bigint | undefined;
423
- maxFeePerGas?: bigint | undefined;
424
- maxPriorityFeePerGas?: bigint | undefined;
425
- type?: "eip4844" | undefined;
426
- nonce?: number | undefined;
427
- to: `0x${string}` | null;
428
- value?: bigint | undefined;
429
- accessList?: import('viem').AccessList | undefined;
430
- authorizationList?: undefined;
431
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
432
- data?: `0x${string}` | undefined;
433
- blobs: readonly import('viem').Hex[] | readonly import('viem').ByteArray[];
434
- kzg?: import('viem').Kzg | undefined;
435
- sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
436
- account?: `0x${string}` | import('viem').Account | null | undefined;
437
- dataSuffix?: `0x${string}` | undefined;
438
- assertChainId?: boolean | undefined | undefined;
439
- chainId?: number | undefined;
440
- connector?: import('wagmi').Connector | undefined;
441
- gas?: bigint | null | undefined;
442
- } | {
443
- gasPrice?: undefined | undefined;
444
- maxFeePerBlobGas?: undefined | undefined;
445
- maxFeePerGas?: bigint | undefined;
446
- maxPriorityFeePerGas?: bigint | undefined;
447
- type?: "eip7702" | undefined;
448
- nonce?: number | undefined;
449
- to?: `0x${string}` | null | undefined;
450
- value?: bigint | undefined;
451
- accessList?: import('viem').AccessList | undefined;
452
- authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
453
- blobVersionedHashes?: undefined;
454
- data?: `0x${string}` | undefined;
455
- blobs?: undefined;
456
- kzg?: undefined;
457
- sidecars?: undefined;
458
- account?: `0x${string}` | import('viem').Account | null | undefined;
459
- dataSuffix?: `0x${string}` | undefined;
460
- assertChainId?: boolean | undefined | undefined;
461
- chainId?: number | undefined;
462
- connector?: import('wagmi').Connector | undefined;
463
- gas?: bigint | null | undefined;
464
- };
465
- isError: false;
466
- isIdle: false;
467
- isPending: false;
468
- isSuccess: true;
469
- failureCount: number;
470
- failureReason: import('@wagmi/core').SendTransactionErrorType | null;
471
- isPaused: boolean;
472
- submittedAt: number;
473
- mutate: import('wagmi/query').SendTransactionMutate<import('wagmi').Config, unknown>;
474
- mutateAsync: import('wagmi/query').SendTransactionMutateAsync<import('wagmi').Config, unknown>;
475
- sendTransaction: import('wagmi/query').SendTransactionMutate<import('wagmi').Config, unknown>;
476
- hash: `0x${string}` | undefined;
477
- signTransaction: import('wagmi/query').SendTransactionMutateAsync<import('wagmi').Config, unknown>;
478
- };
479
- solana: {
480
- signTransaction: ({ feePayer, instructions, recentBlockhash }: {
481
- feePayer: string;
482
- instructions: TransactionInstructionCtorFields[];
483
- recentBlockhash?: string;
484
- }) => Promise<string | undefined>;
485
- connection: import('@solana/web3.js').Connection | undefined;
486
- walletProvider: Provider;
487
- };
488
- bitcoin: {
489
- signTransaction: (params: {
490
- psbt: string;
491
- signInputs: {
492
- address: string;
493
- index: number;
494
- sighashTypes: number[];
495
- }[];
496
- broadcast: boolean;
497
- }) => Promise<string>;
498
- walletProvider: BitcoinConnector;
499
- };
500
- sui: {
501
- signTransaction: (suiParams?: {
502
- /** Base64 BCS transaction bytes (Reown / WalletConnect `sui_signAndExecuteTransaction`). */
503
- transaction?: string;
504
- /** @deprecated use `transaction` — same bytes, older name */
505
- transactionBlock?: string;
506
- address: string;
507
- options?: Record<string, unknown>;
508
- }) => Promise<any>;
509
- walletProvider: any;
510
- };
511
- };