@zubari/sdk 0.3.7 → 0.5.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.
- package/dist/PayoutsProtocol-B5z8SEA-.d.ts +734 -0
- package/dist/PayoutsProtocol-CLiMFe54.d.mts +734 -0
- package/dist/{TransactionService-DuMJmrG3.d.mts → TransactionService-1Jt8ZRqO.d.mts} +1 -1
- package/dist/{TransactionService-DURp3bRL.d.ts → TransactionService-Djonkbp4.d.ts} +1 -1
- package/dist/{WalletManager-CmiNyapl.d.ts → WalletManager-BJaLBfX5.d.ts} +143 -49
- package/dist/{WalletManager-DXt6vihp.d.mts → WalletManager-pVFpurEi.d.mts} +143 -49
- package/dist/{index-CRsZrlN0.d.mts → index-ARbXbNI-.d.ts} +3 -2
- package/dist/{index-DF0Gf8NK.d.mts → index-CTyZlHKg.d.mts} +7 -1
- package/dist/{index-DF0Gf8NK.d.ts → index-CTyZlHKg.d.ts} +7 -1
- package/dist/{index-VNzO49qu.d.ts → index-Da7SaweH.d.mts} +3 -2
- package/dist/index.d.mts +23 -6
- package/dist/index.d.ts +23 -6
- package/dist/index.js +115 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +115 -11
- package/dist/index.mjs.map +1 -1
- package/dist/protocols/index.d.mts +102 -502
- package/dist/protocols/index.d.ts +102 -502
- package/dist/protocols/index.js +1829 -0
- package/dist/protocols/index.js.map +1 -1
- package/dist/protocols/index.mjs +1829 -1
- package/dist/protocols/index.mjs.map +1 -1
- package/dist/react/index.d.mts +9 -4
- package/dist/react/index.d.ts +9 -4
- package/dist/react/index.js +128 -13
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +128 -13
- package/dist/react/index.mjs.map +1 -1
- package/dist/services/index.d.mts +2 -2
- package/dist/services/index.d.ts +2 -2
- package/dist/services/index.js.map +1 -1
- package/dist/services/index.mjs.map +1 -1
- package/dist/storage/index.js +61 -3
- package/dist/storage/index.js.map +1 -1
- package/dist/storage/index.mjs +61 -3
- package/dist/storage/index.mjs.map +1 -1
- package/dist/wallet/index.d.mts +5 -4
- package/dist/wallet/index.d.ts +5 -4
- package/dist/wallet/index.js +115 -11
- package/dist/wallet/index.js.map +1 -1
- package/dist/wallet/index.mjs +115 -11
- package/dist/wallet/index.mjs.map +1 -1
- package/package.json +14 -16
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as node_modules_viem__types_actions_siwe_verifySiweMessage from 'node_modules/viem/_types/actions/siwe/verifySiweMessage';
|
|
2
|
+
import * as node_modules_viem__types_utils_ccip from 'node_modules/viem/_types/utils/ccip';
|
|
2
3
|
import * as viem from 'viem';
|
|
3
4
|
import { HDNodeWallet } from 'ethers';
|
|
4
5
|
import { S as SecureStorageAdapter } from './SecureStorage-jO783AhC.js';
|
|
5
|
-
import {
|
|
6
|
+
import { b as NetworkType } from './index-CTyZlHKg.js';
|
|
6
7
|
|
|
7
8
|
interface NetworkConfig {
|
|
8
9
|
name: string;
|
|
@@ -71,6 +72,8 @@ interface WalletManagerConfig {
|
|
|
71
72
|
enabledChains?: NetworkType[];
|
|
72
73
|
/** API URL for WDK backend (for multi-chain address derivation) */
|
|
73
74
|
apiUrl?: string;
|
|
75
|
+
/** Access token for authenticated API requests */
|
|
76
|
+
accessToken?: string;
|
|
74
77
|
}
|
|
75
78
|
/**
|
|
76
79
|
* WalletManager - Handles BIP-39 seed generation, address derivation, and secure storage
|
|
@@ -182,7 +185,7 @@ declare class WalletManager {
|
|
|
182
185
|
} | undefined;
|
|
183
186
|
cacheTime: number;
|
|
184
187
|
ccipRead?: false | {
|
|
185
|
-
request?: (parameters: viem.CcipRequestParameters) => Promise
|
|
188
|
+
request?: (parameters: viem.CcipRequestParameters) => Promise<node_modules_viem__types_utils_ccip.CcipRequestReturnType>;
|
|
186
189
|
} | undefined;
|
|
187
190
|
chain: {
|
|
188
191
|
blockExplorers: {
|
|
@@ -220,6 +223,7 @@ declare class WalletManager {
|
|
|
220
223
|
sourceId?: number | undefined | undefined;
|
|
221
224
|
testnet?: boolean | undefined | undefined;
|
|
222
225
|
custom?: Record<string, unknown> | undefined;
|
|
226
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
223
227
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
224
228
|
formatters?: undefined;
|
|
225
229
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -230,6 +234,7 @@ declare class WalletManager {
|
|
|
230
234
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
231
235
|
}] | undefined;
|
|
232
236
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
237
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
233
238
|
} | {
|
|
234
239
|
blockExplorers: {
|
|
235
240
|
readonly default: {
|
|
@@ -266,6 +271,7 @@ declare class WalletManager {
|
|
|
266
271
|
sourceId?: number | undefined | undefined;
|
|
267
272
|
testnet: true;
|
|
268
273
|
custom?: Record<string, unknown> | undefined;
|
|
274
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
269
275
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
270
276
|
formatters?: undefined;
|
|
271
277
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -276,6 +282,7 @@ declare class WalletManager {
|
|
|
276
282
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
277
283
|
}] | undefined;
|
|
278
284
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
285
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
279
286
|
};
|
|
280
287
|
experimental_blockTag?: viem.BlockTag | undefined;
|
|
281
288
|
key: string;
|
|
@@ -324,6 +331,7 @@ declare class WalletManager {
|
|
|
324
331
|
sourceId?: number | undefined | undefined;
|
|
325
332
|
testnet?: boolean | undefined | undefined;
|
|
326
333
|
custom?: Record<string, unknown> | undefined;
|
|
334
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
327
335
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
328
336
|
formatters?: undefined;
|
|
329
337
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -334,6 +342,7 @@ declare class WalletManager {
|
|
|
334
342
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
335
343
|
}] | undefined;
|
|
336
344
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
345
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
337
346
|
} | {
|
|
338
347
|
blockExplorers: {
|
|
339
348
|
readonly default: {
|
|
@@ -370,6 +379,7 @@ declare class WalletManager {
|
|
|
370
379
|
sourceId?: number | undefined | undefined;
|
|
371
380
|
testnet: true;
|
|
372
381
|
custom?: Record<string, unknown> | undefined;
|
|
382
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
373
383
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
374
384
|
formatters?: undefined;
|
|
375
385
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -380,6 +390,7 @@ declare class WalletManager {
|
|
|
380
390
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
381
391
|
}] | undefined;
|
|
382
392
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
393
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
383
394
|
}>) => Promise<viem.CallReturnType>;
|
|
384
395
|
createAccessList: (parameters: viem.CreateAccessListParameters<{
|
|
385
396
|
blockExplorers: {
|
|
@@ -417,6 +428,7 @@ declare class WalletManager {
|
|
|
417
428
|
sourceId?: number | undefined | undefined;
|
|
418
429
|
testnet?: boolean | undefined | undefined;
|
|
419
430
|
custom?: Record<string, unknown> | undefined;
|
|
431
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
420
432
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
421
433
|
formatters?: undefined;
|
|
422
434
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -427,6 +439,7 @@ declare class WalletManager {
|
|
|
427
439
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
428
440
|
}] | undefined;
|
|
429
441
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
442
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
430
443
|
} | {
|
|
431
444
|
blockExplorers: {
|
|
432
445
|
readonly default: {
|
|
@@ -463,6 +476,7 @@ declare class WalletManager {
|
|
|
463
476
|
sourceId?: number | undefined | undefined;
|
|
464
477
|
testnet: true;
|
|
465
478
|
custom?: Record<string, unknown> | undefined;
|
|
479
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
466
480
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
467
481
|
formatters?: undefined;
|
|
468
482
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -473,15 +487,16 @@ declare class WalletManager {
|
|
|
473
487
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
474
488
|
}] | undefined;
|
|
475
489
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
490
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
476
491
|
}>) => Promise<{
|
|
477
492
|
accessList: viem.AccessList;
|
|
478
493
|
gasUsed: bigint;
|
|
479
494
|
}>;
|
|
480
495
|
createBlockFilter: () => Promise<viem.CreateBlockFilterReturnType>;
|
|
481
|
-
createContractEventFilter: <const abi extends
|
|
482
|
-
createEventFilter: <const abiEvent extends
|
|
496
|
+
createContractEventFilter: <const abi extends viem.Abi | readonly unknown[], eventName extends viem.ContractEventName<abi> | undefined, args extends viem.MaybeExtractEventArgsFromAbi<abi, eventName> | undefined, strict extends boolean | undefined = undefined, fromBlock extends viem.BlockNumber | viem.BlockTag | undefined = undefined, toBlock extends viem.BlockNumber | viem.BlockTag | undefined = undefined>(args: viem.CreateContractEventFilterParameters<abi, eventName, args, strict, fromBlock, toBlock>) => Promise<viem.CreateContractEventFilterReturnType<abi, eventName, args, strict, fromBlock, toBlock>>;
|
|
497
|
+
createEventFilter: <const abiEvent extends viem.AbiEvent | undefined = undefined, const abiEvents extends readonly viem.AbiEvent[] | readonly unknown[] | undefined = abiEvent extends viem.AbiEvent ? [abiEvent] : undefined, strict extends boolean | undefined = undefined, fromBlock extends viem.BlockNumber | viem.BlockTag | undefined = undefined, toBlock extends viem.BlockNumber | viem.BlockTag | undefined = undefined, _EventName extends string | undefined = viem.MaybeAbiEventName<abiEvent>, _Args extends viem.MaybeExtractEventArgsFromAbi<abiEvents, _EventName> | undefined = undefined>(args?: viem.CreateEventFilterParameters<abiEvent, abiEvents, strict, fromBlock, toBlock, _EventName, _Args> | undefined) => Promise<viem.CreateEventFilterReturnType<abiEvent, abiEvents, strict, fromBlock, toBlock, _EventName, _Args>>;
|
|
483
498
|
createPendingTransactionFilter: () => Promise<viem.CreatePendingTransactionFilterReturnType>;
|
|
484
|
-
estimateContractGas: <chain extends viem.Chain | undefined, const abi extends
|
|
499
|
+
estimateContractGas: <chain extends viem.Chain | undefined, const abi extends viem.Abi | readonly unknown[], functionName extends viem.ContractFunctionName<abi, "nonpayable" | "payable">, args extends viem.ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>>(args: viem.EstimateContractGasParameters<abi, functionName, args, chain>) => Promise<viem.EstimateContractGasReturnType>;
|
|
485
500
|
estimateGas: (args: viem.EstimateGasParameters<{
|
|
486
501
|
blockExplorers: {
|
|
487
502
|
readonly default: {
|
|
@@ -518,6 +533,7 @@ declare class WalletManager {
|
|
|
518
533
|
sourceId?: number | undefined | undefined;
|
|
519
534
|
testnet?: boolean | undefined | undefined;
|
|
520
535
|
custom?: Record<string, unknown> | undefined;
|
|
536
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
521
537
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
522
538
|
formatters?: undefined;
|
|
523
539
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -528,6 +544,7 @@ declare class WalletManager {
|
|
|
528
544
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
529
545
|
}] | undefined;
|
|
530
546
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
547
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
531
548
|
} | {
|
|
532
549
|
blockExplorers: {
|
|
533
550
|
readonly default: {
|
|
@@ -564,6 +581,7 @@ declare class WalletManager {
|
|
|
564
581
|
sourceId?: number | undefined | undefined;
|
|
565
582
|
testnet: true;
|
|
566
583
|
custom?: Record<string, unknown> | undefined;
|
|
584
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
567
585
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
568
586
|
formatters?: undefined;
|
|
569
587
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -574,8 +592,9 @@ declare class WalletManager {
|
|
|
574
592
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
575
593
|
}] | undefined;
|
|
576
594
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
595
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
577
596
|
}>) => Promise<viem.EstimateGasReturnType>;
|
|
578
|
-
fillTransaction: <chainOverride extends viem.Chain | undefined = undefined, accountOverride extends viem.Account |
|
|
597
|
+
fillTransaction: <chainOverride extends viem.Chain | undefined = undefined, accountOverride extends viem.Account | viem.Address | undefined = undefined>(args: viem.FillTransactionParameters<{
|
|
579
598
|
blockExplorers: {
|
|
580
599
|
readonly default: {
|
|
581
600
|
readonly name: "Etherscan";
|
|
@@ -611,6 +630,7 @@ declare class WalletManager {
|
|
|
611
630
|
sourceId?: number | undefined | undefined;
|
|
612
631
|
testnet?: boolean | undefined | undefined;
|
|
613
632
|
custom?: Record<string, unknown> | undefined;
|
|
633
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
614
634
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
615
635
|
formatters?: undefined;
|
|
616
636
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -621,6 +641,7 @@ declare class WalletManager {
|
|
|
621
641
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
622
642
|
}] | undefined;
|
|
623
643
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
644
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
624
645
|
} | {
|
|
625
646
|
blockExplorers: {
|
|
626
647
|
readonly default: {
|
|
@@ -657,6 +678,7 @@ declare class WalletManager {
|
|
|
657
678
|
sourceId?: number | undefined | undefined;
|
|
658
679
|
testnet: true;
|
|
659
680
|
custom?: Record<string, unknown> | undefined;
|
|
681
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
660
682
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
661
683
|
formatters?: undefined;
|
|
662
684
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -667,6 +689,7 @@ declare class WalletManager {
|
|
|
667
689
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
668
690
|
}] | undefined;
|
|
669
691
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
692
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
670
693
|
}, viem.Account | undefined, chainOverride, accountOverride>) => Promise<viem.FillTransactionReturnType<{
|
|
671
694
|
blockExplorers: {
|
|
672
695
|
readonly default: {
|
|
@@ -703,6 +726,7 @@ declare class WalletManager {
|
|
|
703
726
|
sourceId?: number | undefined | undefined;
|
|
704
727
|
testnet?: boolean | undefined | undefined;
|
|
705
728
|
custom?: Record<string, unknown> | undefined;
|
|
729
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
706
730
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
707
731
|
formatters?: undefined;
|
|
708
732
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -713,6 +737,7 @@ declare class WalletManager {
|
|
|
713
737
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
714
738
|
}] | undefined;
|
|
715
739
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
740
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
716
741
|
} | {
|
|
717
742
|
blockExplorers: {
|
|
718
743
|
readonly default: {
|
|
@@ -749,6 +774,7 @@ declare class WalletManager {
|
|
|
749
774
|
sourceId?: number | undefined | undefined;
|
|
750
775
|
testnet: true;
|
|
751
776
|
custom?: Record<string, unknown> | undefined;
|
|
777
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
752
778
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
753
779
|
formatters?: undefined;
|
|
754
780
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -759,6 +785,7 @@ declare class WalletManager {
|
|
|
759
785
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
760
786
|
}] | undefined;
|
|
761
787
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
788
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
762
789
|
}, chainOverride>>;
|
|
763
790
|
getBalance: (args: viem.GetBalanceParameters) => Promise<viem.GetBalanceReturnType>;
|
|
764
791
|
getBlobBaseFee: () => Promise<viem.GetBlobBaseFeeReturnType>;
|
|
@@ -775,7 +802,7 @@ declare class WalletManager {
|
|
|
775
802
|
excessBlobGas: bigint;
|
|
776
803
|
extraData: viem.Hex;
|
|
777
804
|
gasLimit: bigint;
|
|
778
|
-
miner:
|
|
805
|
+
miner: viem.Address;
|
|
779
806
|
mixHash: viem.Hash;
|
|
780
807
|
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
781
808
|
parentHash: viem.Hash;
|
|
@@ -792,8 +819,8 @@ declare class WalletManager {
|
|
|
792
819
|
transactions: includeTransactions extends true ? ({
|
|
793
820
|
chainId?: number | undefined;
|
|
794
821
|
nonce: number;
|
|
795
|
-
from:
|
|
796
|
-
to:
|
|
822
|
+
from: viem.Address;
|
|
823
|
+
to: viem.Address | null;
|
|
797
824
|
hash: viem.Hash;
|
|
798
825
|
value: bigint;
|
|
799
826
|
yParity?: undefined | undefined;
|
|
@@ -817,8 +844,8 @@ declare class WalletManager {
|
|
|
817
844
|
} | {
|
|
818
845
|
chainId: number;
|
|
819
846
|
nonce: number;
|
|
820
|
-
from:
|
|
821
|
-
to:
|
|
847
|
+
from: viem.Address;
|
|
848
|
+
to: viem.Address | null;
|
|
822
849
|
hash: viem.Hash;
|
|
823
850
|
value: bigint;
|
|
824
851
|
yParity: number;
|
|
@@ -842,8 +869,8 @@ declare class WalletManager {
|
|
|
842
869
|
} | {
|
|
843
870
|
chainId: number;
|
|
844
871
|
nonce: number;
|
|
845
|
-
from:
|
|
846
|
-
to:
|
|
872
|
+
from: viem.Address;
|
|
873
|
+
to: viem.Address | null;
|
|
847
874
|
hash: viem.Hash;
|
|
848
875
|
value: bigint;
|
|
849
876
|
yParity: number;
|
|
@@ -867,8 +894,8 @@ declare class WalletManager {
|
|
|
867
894
|
} | {
|
|
868
895
|
chainId: number;
|
|
869
896
|
nonce: number;
|
|
870
|
-
from:
|
|
871
|
-
to:
|
|
897
|
+
from: viem.Address;
|
|
898
|
+
to: viem.Address | null;
|
|
872
899
|
hash: viem.Hash;
|
|
873
900
|
value: bigint;
|
|
874
901
|
yParity: number;
|
|
@@ -892,8 +919,8 @@ declare class WalletManager {
|
|
|
892
919
|
} | {
|
|
893
920
|
chainId: number;
|
|
894
921
|
nonce: number;
|
|
895
|
-
from:
|
|
896
|
-
to:
|
|
922
|
+
from: viem.Address;
|
|
923
|
+
to: viem.Address | null;
|
|
897
924
|
hash: viem.Hash;
|
|
898
925
|
value: bigint;
|
|
899
926
|
yParity: number;
|
|
@@ -921,7 +948,7 @@ declare class WalletManager {
|
|
|
921
948
|
getBytecode: (args: viem.GetBytecodeParameters) => Promise<viem.GetBytecodeReturnType>;
|
|
922
949
|
getChainId: () => Promise<viem.GetChainIdReturnType>;
|
|
923
950
|
getCode: (args: viem.GetBytecodeParameters) => Promise<viem.GetBytecodeReturnType>;
|
|
924
|
-
getContractEvents: <const abi extends
|
|
951
|
+
getContractEvents: <const abi extends viem.Abi | readonly unknown[], eventName extends viem.ContractEventName<abi> | undefined = undefined, strict extends boolean | undefined = undefined, fromBlock extends viem.BlockNumber | viem.BlockTag | undefined = undefined, toBlock extends viem.BlockNumber | viem.BlockTag | undefined = undefined>(args: viem.GetContractEventsParameters<abi, eventName, strict, fromBlock, toBlock>) => Promise<viem.GetContractEventsReturnType<abi, eventName, strict, fromBlock, toBlock>>;
|
|
925
952
|
getEip712Domain: (args: viem.GetEip712DomainParameters) => Promise<viem.GetEip712DomainReturnType>;
|
|
926
953
|
getEnsAddress: (args: viem.GetEnsAddressParameters) => Promise<viem.GetEnsAddressReturnType>;
|
|
927
954
|
getEnsAvatar: (args: viem.GetEnsAvatarParameters) => Promise<viem.GetEnsAvatarReturnType>;
|
|
@@ -965,6 +992,7 @@ declare class WalletManager {
|
|
|
965
992
|
sourceId?: number | undefined | undefined;
|
|
966
993
|
testnet?: boolean | undefined | undefined;
|
|
967
994
|
custom?: Record<string, unknown> | undefined;
|
|
995
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
968
996
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
969
997
|
formatters?: undefined;
|
|
970
998
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -975,6 +1003,7 @@ declare class WalletManager {
|
|
|
975
1003
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
976
1004
|
}] | undefined;
|
|
977
1005
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1006
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
978
1007
|
} | {
|
|
979
1008
|
blockExplorers: {
|
|
980
1009
|
readonly default: {
|
|
@@ -1011,6 +1040,7 @@ declare class WalletManager {
|
|
|
1011
1040
|
sourceId?: number | undefined | undefined;
|
|
1012
1041
|
testnet: true;
|
|
1013
1042
|
custom?: Record<string, unknown> | undefined;
|
|
1043
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
1014
1044
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
1015
1045
|
formatters?: undefined;
|
|
1016
1046
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -1021,11 +1051,12 @@ declare class WalletManager {
|
|
|
1021
1051
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
1022
1052
|
}] | undefined;
|
|
1023
1053
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1054
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
1024
1055
|
}, chainOverride, type> | undefined) => Promise<viem.EstimateFeesPerGasReturnType<type>>;
|
|
1025
|
-
getFilterChanges: <filterType extends viem.FilterType, const abi extends
|
|
1026
|
-
getFilterLogs: <const abi extends
|
|
1056
|
+
getFilterChanges: <filterType extends viem.FilterType, const abi extends viem.Abi | readonly unknown[] | undefined, eventName extends string | undefined, strict extends boolean | undefined = undefined, fromBlock extends viem.BlockNumber | viem.BlockTag | undefined = undefined, toBlock extends viem.BlockNumber | viem.BlockTag | undefined = undefined>(args: viem.GetFilterChangesParameters<filterType, abi, eventName, strict, fromBlock, toBlock>) => Promise<viem.GetFilterChangesReturnType<filterType, abi, eventName, strict, fromBlock, toBlock>>;
|
|
1057
|
+
getFilterLogs: <const abi extends viem.Abi | readonly unknown[] | undefined, eventName extends string | undefined, strict extends boolean | undefined = undefined, fromBlock extends viem.BlockNumber | viem.BlockTag | undefined = undefined, toBlock extends viem.BlockNumber | viem.BlockTag | undefined = undefined>(args: viem.GetFilterLogsParameters<abi, eventName, strict, fromBlock, toBlock>) => Promise<viem.GetFilterLogsReturnType<abi, eventName, strict, fromBlock, toBlock>>;
|
|
1027
1058
|
getGasPrice: () => Promise<viem.GetGasPriceReturnType>;
|
|
1028
|
-
getLogs: <const abiEvent extends
|
|
1059
|
+
getLogs: <const abiEvent extends viem.AbiEvent | undefined = undefined, const abiEvents extends readonly viem.AbiEvent[] | readonly unknown[] | undefined = abiEvent extends viem.AbiEvent ? [abiEvent] : undefined, strict extends boolean | undefined = undefined, fromBlock extends viem.BlockNumber | viem.BlockTag | undefined = undefined, toBlock extends viem.BlockNumber | viem.BlockTag | undefined = undefined>(args?: viem.GetLogsParameters<abiEvent, abiEvents, strict, fromBlock, toBlock> | undefined) => Promise<viem.GetLogsReturnType<abiEvent, abiEvents, strict, fromBlock, toBlock>>;
|
|
1029
1060
|
getProof: (args: viem.GetProofParameters) => Promise<viem.GetProofReturnType>;
|
|
1030
1061
|
estimateMaxPriorityFeePerGas: <chainOverride extends viem.Chain | undefined = undefined>(args?: {
|
|
1031
1062
|
chain?: chainOverride | null | undefined;
|
|
@@ -1034,8 +1065,8 @@ declare class WalletManager {
|
|
|
1034
1065
|
getTransaction: <blockTag extends viem.BlockTag = "latest">(args: viem.GetTransactionParameters<blockTag>) => Promise<{
|
|
1035
1066
|
chainId?: number | undefined;
|
|
1036
1067
|
nonce: number;
|
|
1037
|
-
from:
|
|
1038
|
-
to:
|
|
1068
|
+
from: viem.Address;
|
|
1069
|
+
to: viem.Address | null;
|
|
1039
1070
|
hash: viem.Hash;
|
|
1040
1071
|
value: bigint;
|
|
1041
1072
|
yParity?: undefined | undefined;
|
|
@@ -1059,8 +1090,8 @@ declare class WalletManager {
|
|
|
1059
1090
|
} | {
|
|
1060
1091
|
chainId: number;
|
|
1061
1092
|
nonce: number;
|
|
1062
|
-
from:
|
|
1063
|
-
to:
|
|
1093
|
+
from: viem.Address;
|
|
1094
|
+
to: viem.Address | null;
|
|
1064
1095
|
hash: viem.Hash;
|
|
1065
1096
|
value: bigint;
|
|
1066
1097
|
yParity: number;
|
|
@@ -1084,8 +1115,8 @@ declare class WalletManager {
|
|
|
1084
1115
|
} | {
|
|
1085
1116
|
chainId: number;
|
|
1086
1117
|
nonce: number;
|
|
1087
|
-
from:
|
|
1088
|
-
to:
|
|
1118
|
+
from: viem.Address;
|
|
1119
|
+
to: viem.Address | null;
|
|
1089
1120
|
hash: viem.Hash;
|
|
1090
1121
|
value: bigint;
|
|
1091
1122
|
yParity: number;
|
|
@@ -1109,8 +1140,8 @@ declare class WalletManager {
|
|
|
1109
1140
|
} | {
|
|
1110
1141
|
chainId: number;
|
|
1111
1142
|
nonce: number;
|
|
1112
|
-
from:
|
|
1113
|
-
to:
|
|
1143
|
+
from: viem.Address;
|
|
1144
|
+
to: viem.Address | null;
|
|
1114
1145
|
hash: viem.Hash;
|
|
1115
1146
|
value: bigint;
|
|
1116
1147
|
yParity: number;
|
|
@@ -1134,8 +1165,8 @@ declare class WalletManager {
|
|
|
1134
1165
|
} | {
|
|
1135
1166
|
chainId: number;
|
|
1136
1167
|
nonce: number;
|
|
1137
|
-
from:
|
|
1138
|
-
to:
|
|
1168
|
+
from: viem.Address;
|
|
1169
|
+
to: viem.Address | null;
|
|
1139
1170
|
hash: viem.Hash;
|
|
1140
1171
|
value: bigint;
|
|
1141
1172
|
yParity: number;
|
|
@@ -1193,6 +1224,7 @@ declare class WalletManager {
|
|
|
1193
1224
|
sourceId?: number | undefined | undefined;
|
|
1194
1225
|
testnet?: boolean | undefined | undefined;
|
|
1195
1226
|
custom?: Record<string, unknown> | undefined;
|
|
1227
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
1196
1228
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
1197
1229
|
formatters?: undefined;
|
|
1198
1230
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -1203,6 +1235,7 @@ declare class WalletManager {
|
|
|
1203
1235
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
1204
1236
|
}] | undefined;
|
|
1205
1237
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1238
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
1206
1239
|
} | {
|
|
1207
1240
|
blockExplorers: {
|
|
1208
1241
|
readonly default: {
|
|
@@ -1239,6 +1272,7 @@ declare class WalletManager {
|
|
|
1239
1272
|
sourceId?: number | undefined | undefined;
|
|
1240
1273
|
testnet: true;
|
|
1241
1274
|
custom?: Record<string, unknown> | undefined;
|
|
1275
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
1242
1276
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
1243
1277
|
formatters?: undefined;
|
|
1244
1278
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -1249,6 +1283,7 @@ declare class WalletManager {
|
|
|
1249
1283
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
1250
1284
|
}] | undefined;
|
|
1251
1285
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1286
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
1252
1287
|
}>) => Promise<viem.GetTransactionConfirmationsReturnType>;
|
|
1253
1288
|
getTransactionCount: (args: viem.GetTransactionCountParameters) => Promise<viem.GetTransactionCountReturnType>;
|
|
1254
1289
|
getTransactionReceipt: (args: viem.GetTransactionReceiptParameters) => Promise<viem.TransactionReceipt>;
|
|
@@ -1289,6 +1324,7 @@ declare class WalletManager {
|
|
|
1289
1324
|
sourceId?: number | undefined | undefined;
|
|
1290
1325
|
testnet?: boolean | undefined | undefined;
|
|
1291
1326
|
custom?: Record<string, unknown> | undefined;
|
|
1327
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
1292
1328
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
1293
1329
|
formatters?: undefined;
|
|
1294
1330
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -1299,6 +1335,7 @@ declare class WalletManager {
|
|
|
1299
1335
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
1300
1336
|
}] | undefined;
|
|
1301
1337
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1338
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
1302
1339
|
} | {
|
|
1303
1340
|
blockExplorers: {
|
|
1304
1341
|
readonly default: {
|
|
@@ -1335,6 +1372,7 @@ declare class WalletManager {
|
|
|
1335
1372
|
sourceId?: number | undefined | undefined;
|
|
1336
1373
|
testnet: true;
|
|
1337
1374
|
custom?: Record<string, unknown> | undefined;
|
|
1375
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
1338
1376
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
1339
1377
|
formatters?: undefined;
|
|
1340
1378
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -1345,7 +1383,8 @@ declare class WalletManager {
|
|
|
1345
1383
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
1346
1384
|
}] | undefined;
|
|
1347
1385
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1348
|
-
|
|
1386
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
1387
|
+
}, chainOverride>, chainOverride extends viem.Chain | undefined = undefined, accountOverride extends viem.Account | viem.Address | undefined = undefined>(args: viem.PrepareTransactionRequestParameters<{
|
|
1349
1388
|
blockExplorers: {
|
|
1350
1389
|
readonly default: {
|
|
1351
1390
|
readonly name: "Etherscan";
|
|
@@ -1381,6 +1420,7 @@ declare class WalletManager {
|
|
|
1381
1420
|
sourceId?: number | undefined | undefined;
|
|
1382
1421
|
testnet?: boolean | undefined | undefined;
|
|
1383
1422
|
custom?: Record<string, unknown> | undefined;
|
|
1423
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
1384
1424
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
1385
1425
|
formatters?: undefined;
|
|
1386
1426
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -1391,6 +1431,7 @@ declare class WalletManager {
|
|
|
1391
1431
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
1392
1432
|
}] | undefined;
|
|
1393
1433
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1434
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
1394
1435
|
} | {
|
|
1395
1436
|
blockExplorers: {
|
|
1396
1437
|
readonly default: {
|
|
@@ -1427,6 +1468,7 @@ declare class WalletManager {
|
|
|
1427
1468
|
sourceId?: number | undefined | undefined;
|
|
1428
1469
|
testnet: true;
|
|
1429
1470
|
custom?: Record<string, unknown> | undefined;
|
|
1471
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
1430
1472
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
1431
1473
|
formatters?: undefined;
|
|
1432
1474
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -1437,6 +1479,7 @@ declare class WalletManager {
|
|
|
1437
1479
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
1438
1480
|
}] | undefined;
|
|
1439
1481
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1482
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
1440
1483
|
}, viem.Account | undefined, chainOverride, accountOverride, request>) => Promise<viem.UnionRequiredBy<Extract<viem.UnionOmit<viem.ExtractChainFormatterParameters<viem.DeriveChain<{
|
|
1441
1484
|
blockExplorers: {
|
|
1442
1485
|
readonly default: {
|
|
@@ -1473,6 +1516,7 @@ declare class WalletManager {
|
|
|
1473
1516
|
sourceId?: number | undefined | undefined;
|
|
1474
1517
|
testnet?: boolean | undefined | undefined;
|
|
1475
1518
|
custom?: Record<string, unknown> | undefined;
|
|
1519
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
1476
1520
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
1477
1521
|
formatters?: undefined;
|
|
1478
1522
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -1483,6 +1527,7 @@ declare class WalletManager {
|
|
|
1483
1527
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
1484
1528
|
}] | undefined;
|
|
1485
1529
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1530
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
1486
1531
|
} | {
|
|
1487
1532
|
blockExplorers: {
|
|
1488
1533
|
readonly default: {
|
|
@@ -1519,6 +1564,7 @@ declare class WalletManager {
|
|
|
1519
1564
|
sourceId?: number | undefined | undefined;
|
|
1520
1565
|
testnet: true;
|
|
1521
1566
|
custom?: Record<string, unknown> | undefined;
|
|
1567
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
1522
1568
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
1523
1569
|
formatters?: undefined;
|
|
1524
1570
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -1529,6 +1575,7 @@ declare class WalletManager {
|
|
|
1529
1575
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
1530
1576
|
}] | undefined;
|
|
1531
1577
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1578
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
1532
1579
|
}, chainOverride>, "transactionRequest", viem.TransactionRequest>, "from"> & (viem.DeriveChain<{
|
|
1533
1580
|
blockExplorers: {
|
|
1534
1581
|
readonly default: {
|
|
@@ -1565,6 +1612,7 @@ declare class WalletManager {
|
|
|
1565
1612
|
sourceId?: number | undefined | undefined;
|
|
1566
1613
|
testnet?: boolean | undefined | undefined;
|
|
1567
1614
|
custom?: Record<string, unknown> | undefined;
|
|
1615
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
1568
1616
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
1569
1617
|
formatters?: undefined;
|
|
1570
1618
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -1575,6 +1623,7 @@ declare class WalletManager {
|
|
|
1575
1623
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
1576
1624
|
}] | undefined;
|
|
1577
1625
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1626
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
1578
1627
|
} | {
|
|
1579
1628
|
blockExplorers: {
|
|
1580
1629
|
readonly default: {
|
|
@@ -1611,6 +1660,7 @@ declare class WalletManager {
|
|
|
1611
1660
|
sourceId?: number | undefined | undefined;
|
|
1612
1661
|
testnet: true;
|
|
1613
1662
|
custom?: Record<string, unknown> | undefined;
|
|
1663
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
1614
1664
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
1615
1665
|
formatters?: undefined;
|
|
1616
1666
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -1621,6 +1671,7 @@ declare class WalletManager {
|
|
|
1621
1671
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
1622
1672
|
}] | undefined;
|
|
1623
1673
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1674
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
1624
1675
|
}, chainOverride> extends infer T_1 ? T_1 extends viem.DeriveChain<{
|
|
1625
1676
|
blockExplorers: {
|
|
1626
1677
|
readonly default: {
|
|
@@ -1657,6 +1708,7 @@ declare class WalletManager {
|
|
|
1657
1708
|
sourceId?: number | undefined | undefined;
|
|
1658
1709
|
testnet?: boolean | undefined | undefined;
|
|
1659
1710
|
custom?: Record<string, unknown> | undefined;
|
|
1711
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
1660
1712
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
1661
1713
|
formatters?: undefined;
|
|
1662
1714
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -1667,6 +1719,7 @@ declare class WalletManager {
|
|
|
1667
1719
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
1668
1720
|
}] | undefined;
|
|
1669
1721
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1722
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
1670
1723
|
} | {
|
|
1671
1724
|
blockExplorers: {
|
|
1672
1725
|
readonly default: {
|
|
@@ -1703,6 +1756,7 @@ declare class WalletManager {
|
|
|
1703
1756
|
sourceId?: number | undefined | undefined;
|
|
1704
1757
|
testnet: true;
|
|
1705
1758
|
custom?: Record<string, unknown> | undefined;
|
|
1759
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
1706
1760
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
1707
1761
|
formatters?: undefined;
|
|
1708
1762
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -1713,13 +1767,14 @@ declare class WalletManager {
|
|
|
1713
1767
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
1714
1768
|
}] | undefined;
|
|
1715
1769
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1770
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
1716
1771
|
}, chainOverride> ? T_1 extends viem.Chain ? {
|
|
1717
1772
|
chain: T_1;
|
|
1718
1773
|
} : {
|
|
1719
1774
|
chain?: undefined;
|
|
1720
1775
|
} : never : never) & (viem.DeriveAccount<viem.Account | undefined, accountOverride> extends infer T_2 ? T_2 extends viem.DeriveAccount<viem.Account | undefined, accountOverride> ? T_2 extends viem.Account ? {
|
|
1721
1776
|
account: T_2;
|
|
1722
|
-
from:
|
|
1777
|
+
from: viem.Address;
|
|
1723
1778
|
} : {
|
|
1724
1779
|
account?: undefined;
|
|
1725
1780
|
from?: undefined;
|
|
@@ -4966,13 +5021,13 @@ declare class WalletManager {
|
|
|
4966
5021
|
} ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_12 extends "eip7702" ? viem.TransactionRequestEIP7702 : never : never : never)>> & {
|
|
4967
5022
|
chainId?: number | undefined;
|
|
4968
5023
|
}, (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "chainId" | "nonce" | "fees" | "gas" | "blobVersionedHashes" | "type") extends infer T_13 ? T_13 extends (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "chainId" | "nonce" | "fees" | "gas" | "blobVersionedHashes" | "type") ? T_13 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_13 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">) extends infer T ? { [K in keyof T]: T[K]; } : never>;
|
|
4969
|
-
readContract: <const abi extends
|
|
5024
|
+
readContract: <const abi extends viem.Abi | readonly unknown[], functionName extends viem.ContractFunctionName<abi, "pure" | "view">, const args extends viem.ContractFunctionArgs<abi, "pure" | "view", functionName>>(args: viem.ReadContractParameters<abi, functionName, args>) => Promise<viem.ReadContractReturnType<abi, functionName, args>>;
|
|
4970
5025
|
sendRawTransaction: (args: viem.SendRawTransactionParameters) => Promise<viem.SendRawTransactionReturnType>;
|
|
4971
5026
|
sendRawTransactionSync: (args: viem.SendRawTransactionSyncParameters) => Promise<viem.TransactionReceipt>;
|
|
4972
5027
|
simulate: <const calls extends readonly unknown[]>(args: viem.SimulateBlocksParameters<calls>) => Promise<viem.SimulateBlocksReturnType<calls>>;
|
|
4973
5028
|
simulateBlocks: <const calls extends readonly unknown[]>(args: viem.SimulateBlocksParameters<calls>) => Promise<viem.SimulateBlocksReturnType<calls>>;
|
|
4974
5029
|
simulateCalls: <const calls extends readonly unknown[]>(args: viem.SimulateCallsParameters<calls>) => Promise<viem.SimulateCallsReturnType<calls>>;
|
|
4975
|
-
simulateContract: <const abi extends
|
|
5030
|
+
simulateContract: <const abi extends viem.Abi | readonly unknown[], functionName extends viem.ContractFunctionName<abi, "nonpayable" | "payable">, const args_1 extends viem.ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>, chainOverride extends viem.Chain | undefined, accountOverride extends viem.Account | viem.Address | undefined = undefined>(args: viem.SimulateContractParameters<abi, functionName, args_1, {
|
|
4976
5031
|
blockExplorers: {
|
|
4977
5032
|
readonly default: {
|
|
4978
5033
|
readonly name: "Etherscan";
|
|
@@ -5008,6 +5063,7 @@ declare class WalletManager {
|
|
|
5008
5063
|
sourceId?: number | undefined | undefined;
|
|
5009
5064
|
testnet?: boolean | undefined | undefined;
|
|
5010
5065
|
custom?: Record<string, unknown> | undefined;
|
|
5066
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
5011
5067
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
5012
5068
|
formatters?: undefined;
|
|
5013
5069
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -5018,6 +5074,7 @@ declare class WalletManager {
|
|
|
5018
5074
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
5019
5075
|
}] | undefined;
|
|
5020
5076
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
5077
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
5021
5078
|
} | {
|
|
5022
5079
|
blockExplorers: {
|
|
5023
5080
|
readonly default: {
|
|
@@ -5054,6 +5111,7 @@ declare class WalletManager {
|
|
|
5054
5111
|
sourceId?: number | undefined | undefined;
|
|
5055
5112
|
testnet: true;
|
|
5056
5113
|
custom?: Record<string, unknown> | undefined;
|
|
5114
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
5057
5115
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
5058
5116
|
formatters?: undefined;
|
|
5059
5117
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -5064,6 +5122,7 @@ declare class WalletManager {
|
|
|
5064
5122
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
5065
5123
|
}] | undefined;
|
|
5066
5124
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
5125
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
5067
5126
|
}, chainOverride, accountOverride>) => Promise<viem.SimulateContractReturnType<abi, functionName, args_1, {
|
|
5068
5127
|
blockExplorers: {
|
|
5069
5128
|
readonly default: {
|
|
@@ -5100,6 +5159,7 @@ declare class WalletManager {
|
|
|
5100
5159
|
sourceId?: number | undefined | undefined;
|
|
5101
5160
|
testnet?: boolean | undefined | undefined;
|
|
5102
5161
|
custom?: Record<string, unknown> | undefined;
|
|
5162
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
5103
5163
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
5104
5164
|
formatters?: undefined;
|
|
5105
5165
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -5110,6 +5170,7 @@ declare class WalletManager {
|
|
|
5110
5170
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
5111
5171
|
}] | undefined;
|
|
5112
5172
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
5173
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
5113
5174
|
} | {
|
|
5114
5175
|
blockExplorers: {
|
|
5115
5176
|
readonly default: {
|
|
@@ -5146,6 +5207,7 @@ declare class WalletManager {
|
|
|
5146
5207
|
sourceId?: number | undefined | undefined;
|
|
5147
5208
|
testnet: true;
|
|
5148
5209
|
custom?: Record<string, unknown> | undefined;
|
|
5210
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
5149
5211
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
5150
5212
|
formatters?: undefined;
|
|
5151
5213
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -5156,20 +5218,11 @@ declare class WalletManager {
|
|
|
5156
5218
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
5157
5219
|
}] | undefined;
|
|
5158
5220
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
5221
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
5159
5222
|
}, viem.Account | undefined, chainOverride, accountOverride>>;
|
|
5160
5223
|
verifyHash: (args: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>;
|
|
5161
5224
|
verifyMessage: (args: viem.VerifyMessageActionParameters) => Promise<viem.VerifyMessageActionReturnType>;
|
|
5162
|
-
verifySiweMessage: (args:
|
|
5163
|
-
blockNumber?: bigint | undefined | undefined;
|
|
5164
|
-
blockTag?: viem.BlockTag | undefined;
|
|
5165
|
-
address?: `0x${string}` | undefined;
|
|
5166
|
-
nonce?: string | undefined | undefined;
|
|
5167
|
-
domain?: string | undefined | undefined;
|
|
5168
|
-
scheme?: string | undefined | undefined;
|
|
5169
|
-
time?: Date | undefined;
|
|
5170
|
-
message: string;
|
|
5171
|
-
signature: viem.Hex;
|
|
5172
|
-
}) => Promise<boolean>;
|
|
5225
|
+
verifySiweMessage: (args: node_modules_viem__types_actions_siwe_verifySiweMessage.VerifySiweMessageParameters) => Promise<node_modules_viem__types_actions_siwe_verifySiweMessage.VerifySiweMessageReturnType>;
|
|
5173
5226
|
verifyTypedData: (args: viem.VerifyTypedDataActionParameters) => Promise<viem.VerifyTypedDataActionReturnType>;
|
|
5174
5227
|
uninstallFilter: (args: viem.UninstallFilterParameters) => Promise<viem.UninstallFilterReturnType>;
|
|
5175
5228
|
waitForTransactionReceipt: (args: viem.WaitForTransactionReceiptParameters<{
|
|
@@ -5208,6 +5261,7 @@ declare class WalletManager {
|
|
|
5208
5261
|
sourceId?: number | undefined | undefined;
|
|
5209
5262
|
testnet?: boolean | undefined | undefined;
|
|
5210
5263
|
custom?: Record<string, unknown> | undefined;
|
|
5264
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
5211
5265
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
5212
5266
|
formatters?: undefined;
|
|
5213
5267
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -5218,6 +5272,7 @@ declare class WalletManager {
|
|
|
5218
5272
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
5219
5273
|
}] | undefined;
|
|
5220
5274
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
5275
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
5221
5276
|
} | {
|
|
5222
5277
|
blockExplorers: {
|
|
5223
5278
|
readonly default: {
|
|
@@ -5254,6 +5309,7 @@ declare class WalletManager {
|
|
|
5254
5309
|
sourceId?: number | undefined | undefined;
|
|
5255
5310
|
testnet: true;
|
|
5256
5311
|
custom?: Record<string, unknown> | undefined;
|
|
5312
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
5257
5313
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
5258
5314
|
formatters?: undefined;
|
|
5259
5315
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -5264,6 +5320,7 @@ declare class WalletManager {
|
|
|
5264
5320
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
5265
5321
|
}] | undefined;
|
|
5266
5322
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
5323
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
5267
5324
|
}>) => Promise<viem.TransactionReceipt>;
|
|
5268
5325
|
watchBlockNumber: (args: viem.WatchBlockNumberParameters) => viem.WatchBlockNumberReturnType;
|
|
5269
5326
|
watchBlocks: <includeTransactions extends boolean = false, blockTag extends viem.BlockTag = "latest">(args: viem.WatchBlocksParameters<viem.HttpTransport<undefined, false>, {
|
|
@@ -5302,6 +5359,7 @@ declare class WalletManager {
|
|
|
5302
5359
|
sourceId?: number | undefined | undefined;
|
|
5303
5360
|
testnet?: boolean | undefined | undefined;
|
|
5304
5361
|
custom?: Record<string, unknown> | undefined;
|
|
5362
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
5305
5363
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
5306
5364
|
formatters?: undefined;
|
|
5307
5365
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -5312,6 +5370,7 @@ declare class WalletManager {
|
|
|
5312
5370
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
5313
5371
|
}] | undefined;
|
|
5314
5372
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
5373
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
5315
5374
|
} | {
|
|
5316
5375
|
blockExplorers: {
|
|
5317
5376
|
readonly default: {
|
|
@@ -5348,6 +5407,7 @@ declare class WalletManager {
|
|
|
5348
5407
|
sourceId?: number | undefined | undefined;
|
|
5349
5408
|
testnet: true;
|
|
5350
5409
|
custom?: Record<string, unknown> | undefined;
|
|
5410
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
5351
5411
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
5352
5412
|
formatters?: undefined;
|
|
5353
5413
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -5358,9 +5418,10 @@ declare class WalletManager {
|
|
|
5358
5418
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
5359
5419
|
}] | undefined;
|
|
5360
5420
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
5421
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
5361
5422
|
}, includeTransactions, blockTag>) => viem.WatchBlocksReturnType;
|
|
5362
|
-
watchContractEvent: <const abi extends
|
|
5363
|
-
watchEvent: <const abiEvent extends
|
|
5423
|
+
watchContractEvent: <const abi extends viem.Abi | readonly unknown[], eventName extends viem.ContractEventName<abi>, strict extends boolean | undefined = undefined>(args: viem.WatchContractEventParameters<abi, eventName, strict, viem.HttpTransport<undefined, false>>) => viem.WatchContractEventReturnType;
|
|
5424
|
+
watchEvent: <const abiEvent extends viem.AbiEvent | undefined = undefined, const abiEvents extends readonly viem.AbiEvent[] | readonly unknown[] | undefined = abiEvent extends viem.AbiEvent ? [abiEvent] : undefined, strict extends boolean | undefined = undefined>(args: viem.WatchEventParameters<abiEvent, abiEvents, strict, viem.HttpTransport<undefined, false>>) => viem.WatchEventReturnType;
|
|
5364
5425
|
watchPendingTransactions: (args: viem.WatchPendingTransactionsParameters<viem.HttpTransport<undefined, false>>) => viem.WatchPendingTransactionsReturnType;
|
|
5365
5426
|
extend: <const client extends {
|
|
5366
5427
|
[x: string]: unknown;
|
|
@@ -5413,6 +5474,7 @@ declare class WalletManager {
|
|
|
5413
5474
|
sourceId?: number | undefined | undefined;
|
|
5414
5475
|
testnet?: boolean | undefined | undefined;
|
|
5415
5476
|
custom?: Record<string, unknown> | undefined;
|
|
5477
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
5416
5478
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
5417
5479
|
formatters?: undefined;
|
|
5418
5480
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -5423,6 +5485,7 @@ declare class WalletManager {
|
|
|
5423
5485
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
5424
5486
|
}] | undefined;
|
|
5425
5487
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
5488
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
5426
5489
|
} | {
|
|
5427
5490
|
blockExplorers: {
|
|
5428
5491
|
readonly default: {
|
|
@@ -5459,6 +5522,7 @@ declare class WalletManager {
|
|
|
5459
5522
|
sourceId?: number | undefined | undefined;
|
|
5460
5523
|
testnet: true;
|
|
5461
5524
|
custom?: Record<string, unknown> | undefined;
|
|
5525
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
5462
5526
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
5463
5527
|
formatters?: undefined;
|
|
5464
5528
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -5469,6 +5533,7 @@ declare class WalletManager {
|
|
|
5469
5533
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
5470
5534
|
}] | undefined;
|
|
5471
5535
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
5536
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
5472
5537
|
}, undefined>, "prepareTransactionRequest" | "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<viem.WalletActions<{
|
|
5473
5538
|
blockExplorers: {
|
|
5474
5539
|
readonly default: {
|
|
@@ -5505,6 +5570,7 @@ declare class WalletManager {
|
|
|
5505
5570
|
sourceId?: number | undefined | undefined;
|
|
5506
5571
|
testnet?: boolean | undefined | undefined;
|
|
5507
5572
|
custom?: Record<string, unknown> | undefined;
|
|
5573
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
5508
5574
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
5509
5575
|
formatters?: undefined;
|
|
5510
5576
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -5515,6 +5581,7 @@ declare class WalletManager {
|
|
|
5515
5581
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
5516
5582
|
}] | undefined;
|
|
5517
5583
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
5584
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
5518
5585
|
} | {
|
|
5519
5586
|
blockExplorers: {
|
|
5520
5587
|
readonly default: {
|
|
@@ -5551,6 +5618,7 @@ declare class WalletManager {
|
|
|
5551
5618
|
sourceId?: number | undefined | undefined;
|
|
5552
5619
|
testnet: true;
|
|
5553
5620
|
custom?: Record<string, unknown> | undefined;
|
|
5621
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
5554
5622
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
5555
5623
|
formatters?: undefined;
|
|
5556
5624
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -5561,6 +5629,7 @@ declare class WalletManager {
|
|
|
5561
5629
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
5562
5630
|
}] | undefined;
|
|
5563
5631
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
5632
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
5564
5633
|
}, undefined>, "sendTransaction" | "writeContract">>>(fn: (client: viem.Client<viem.HttpTransport<undefined, false>, {
|
|
5565
5634
|
blockExplorers: {
|
|
5566
5635
|
readonly default: {
|
|
@@ -5597,6 +5666,7 @@ declare class WalletManager {
|
|
|
5597
5666
|
sourceId?: number | undefined | undefined;
|
|
5598
5667
|
testnet?: boolean | undefined | undefined;
|
|
5599
5668
|
custom?: Record<string, unknown> | undefined;
|
|
5669
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
5600
5670
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
5601
5671
|
formatters?: undefined;
|
|
5602
5672
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -5607,6 +5677,7 @@ declare class WalletManager {
|
|
|
5607
5677
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
5608
5678
|
}] | undefined;
|
|
5609
5679
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
5680
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
5610
5681
|
} | {
|
|
5611
5682
|
blockExplorers: {
|
|
5612
5683
|
readonly default: {
|
|
@@ -5643,6 +5714,7 @@ declare class WalletManager {
|
|
|
5643
5714
|
sourceId?: number | undefined | undefined;
|
|
5644
5715
|
testnet: true;
|
|
5645
5716
|
custom?: Record<string, unknown> | undefined;
|
|
5717
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
5646
5718
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
5647
5719
|
formatters?: undefined;
|
|
5648
5720
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -5653,6 +5725,7 @@ declare class WalletManager {
|
|
|
5653
5725
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
5654
5726
|
}] | undefined;
|
|
5655
5727
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
5728
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
5656
5729
|
}, undefined, viem.PublicRpcSchema, viem.PublicActions<viem.HttpTransport<undefined, false>, {
|
|
5657
5730
|
blockExplorers: {
|
|
5658
5731
|
readonly default: {
|
|
@@ -5689,6 +5762,7 @@ declare class WalletManager {
|
|
|
5689
5762
|
sourceId?: number | undefined | undefined;
|
|
5690
5763
|
testnet?: boolean | undefined | undefined;
|
|
5691
5764
|
custom?: Record<string, unknown> | undefined;
|
|
5765
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
5692
5766
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
5693
5767
|
formatters?: undefined;
|
|
5694
5768
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -5699,6 +5773,7 @@ declare class WalletManager {
|
|
|
5699
5773
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
5700
5774
|
}] | undefined;
|
|
5701
5775
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
5776
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
5702
5777
|
} | {
|
|
5703
5778
|
blockExplorers: {
|
|
5704
5779
|
readonly default: {
|
|
@@ -5735,6 +5810,7 @@ declare class WalletManager {
|
|
|
5735
5810
|
sourceId?: number | undefined | undefined;
|
|
5736
5811
|
testnet: true;
|
|
5737
5812
|
custom?: Record<string, unknown> | undefined;
|
|
5813
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
5738
5814
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
5739
5815
|
formatters?: undefined;
|
|
5740
5816
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -5745,6 +5821,7 @@ declare class WalletManager {
|
|
|
5745
5821
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
5746
5822
|
}] | undefined;
|
|
5747
5823
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
5824
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
5748
5825
|
}>>) => client) => viem.Client<viem.HttpTransport<undefined, false>, {
|
|
5749
5826
|
blockExplorers: {
|
|
5750
5827
|
readonly default: {
|
|
@@ -5781,6 +5858,7 @@ declare class WalletManager {
|
|
|
5781
5858
|
sourceId?: number | undefined | undefined;
|
|
5782
5859
|
testnet?: boolean | undefined | undefined;
|
|
5783
5860
|
custom?: Record<string, unknown> | undefined;
|
|
5861
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
5784
5862
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
5785
5863
|
formatters?: undefined;
|
|
5786
5864
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -5791,6 +5869,7 @@ declare class WalletManager {
|
|
|
5791
5869
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
5792
5870
|
}] | undefined;
|
|
5793
5871
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
5872
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
5794
5873
|
} | {
|
|
5795
5874
|
blockExplorers: {
|
|
5796
5875
|
readonly default: {
|
|
@@ -5827,6 +5906,7 @@ declare class WalletManager {
|
|
|
5827
5906
|
sourceId?: number | undefined | undefined;
|
|
5828
5907
|
testnet: true;
|
|
5829
5908
|
custom?: Record<string, unknown> | undefined;
|
|
5909
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
5830
5910
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
5831
5911
|
formatters?: undefined;
|
|
5832
5912
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -5837,6 +5917,7 @@ declare class WalletManager {
|
|
|
5837
5917
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
5838
5918
|
}] | undefined;
|
|
5839
5919
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
5920
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
5840
5921
|
}, undefined, viem.PublicRpcSchema, { [K in keyof client]: client[K]; } & viem.PublicActions<viem.HttpTransport<undefined, false>, {
|
|
5841
5922
|
blockExplorers: {
|
|
5842
5923
|
readonly default: {
|
|
@@ -5873,6 +5954,7 @@ declare class WalletManager {
|
|
|
5873
5954
|
sourceId?: number | undefined | undefined;
|
|
5874
5955
|
testnet?: boolean | undefined | undefined;
|
|
5875
5956
|
custom?: Record<string, unknown> | undefined;
|
|
5957
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
5876
5958
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
5877
5959
|
formatters?: undefined;
|
|
5878
5960
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -5883,6 +5965,7 @@ declare class WalletManager {
|
|
|
5883
5965
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
5884
5966
|
}] | undefined;
|
|
5885
5967
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
5968
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
5886
5969
|
} | {
|
|
5887
5970
|
blockExplorers: {
|
|
5888
5971
|
readonly default: {
|
|
@@ -5919,6 +6002,7 @@ declare class WalletManager {
|
|
|
5919
6002
|
sourceId?: number | undefined | undefined;
|
|
5920
6003
|
testnet: true;
|
|
5921
6004
|
custom?: Record<string, unknown> | undefined;
|
|
6005
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
5922
6006
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
5923
6007
|
formatters?: undefined;
|
|
5924
6008
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -5929,6 +6013,7 @@ declare class WalletManager {
|
|
|
5929
6013
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
5930
6014
|
}] | undefined;
|
|
5931
6015
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
6016
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
5932
6017
|
}>>;
|
|
5933
6018
|
};
|
|
5934
6019
|
/**
|
|
@@ -5943,6 +6028,15 @@ declare class WalletManager {
|
|
|
5943
6028
|
* Get active wallet preference
|
|
5944
6029
|
*/
|
|
5945
6030
|
getActiveWalletPreference(): Promise<'metamask' | 'wdk'>;
|
|
6031
|
+
/**
|
|
6032
|
+
* Set access token for authenticated API requests
|
|
6033
|
+
* This allows updating the token after initialization (e.g., after login)
|
|
6034
|
+
*/
|
|
6035
|
+
setAccessToken(token: string | undefined): void;
|
|
6036
|
+
/**
|
|
6037
|
+
* Get current access token
|
|
6038
|
+
*/
|
|
6039
|
+
getAccessToken(): string | undefined;
|
|
5946
6040
|
/**
|
|
5947
6041
|
* Derive address for a specific chain (async version)
|
|
5948
6042
|
*
|