@dodoex/wallet-web3 0.0.43-15 → 0.0.43-2
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/DefaultJsonRpcProvider-cbd850bc.js +1 -0
- package/dist/__node-resolve_empty-c07e04b2.js +1 -0
- package/dist/__tslib-54b019af.js +1 -0
- package/dist/alchemy-provider-5870b6fa-077754c5.js +1 -0
- package/dist/alchemy-websocket-provider-213da986-3bfbc710.js +1 -0
- package/dist/blocto-46848faf.js +1 -0
- package/dist/bn-27b74013.js +1 -0
- package/dist/browser-ponyfill-9983e3af.js +1 -0
- package/dist/ccip-54b3b540.js +1 -0
- package/dist/cjs/DefaultJsonRpcProvider-4b2cbac3.cjs +1 -0
- package/dist/cjs/__node-resolve_empty-d89e5abe.cjs +1 -0
- package/dist/cjs/__tslib-2cb2dc52.cjs +1 -0
- package/dist/cjs/alchemy-provider-5870b6fa-1e0f04fc.cjs +1 -0
- package/dist/cjs/alchemy-websocket-provider-213da986-14086d26.cjs +1 -0
- package/dist/cjs/blocto-b08bae37.cjs +1 -0
- package/dist/cjs/bn-2fd35ed6.cjs +1 -0
- package/dist/cjs/browser-ponyfill-479139d5.cjs +1 -0
- package/dist/cjs/ccip-ffbee020.cjs +1 -0
- package/dist/cjs/{draggabilly-f8ef6fab.cjs → draggabilly-9347a024.cjs} +1 -1
- package/dist/cjs/ethers-6c134a78.cjs +1 -0
- package/dist/cjs/id-306822a4.cjs +1 -0
- package/dist/cjs/index-0c3f7f0d.cjs +1 -0
- package/dist/cjs/{index-6899be8a.cjs → index-0e02422e.cjs} +1 -1
- package/dist/{index-3757bff0.js → cjs/index-123203f3.cjs} +2 -2
- package/dist/cjs/index-21f1272b.cjs +1 -0
- package/dist/cjs/index-3ee0c164.cjs +15 -0
- package/dist/cjs/index-449eebb0.cjs +1 -0
- package/dist/cjs/index-4b751ebb.cjs +9 -0
- package/dist/cjs/index-584ce2f2.cjs +1 -0
- package/dist/cjs/index-630bda42.cjs +1 -0
- package/dist/cjs/index-891edc27.cjs +6 -0
- package/dist/cjs/{index-d3aa65e5.cjs → index-a4d7eb55.cjs} +2 -2
- package/dist/cjs/index-c8612d96.cjs +20 -0
- package/dist/cjs/index-d890bb01.cjs +1 -0
- package/dist/cjs/index-e373c760.cjs +1 -0
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.es-1a08ac77.cjs +9 -0
- package/dist/cjs/{interface-dbad2e60.cjs → interface-ca8f7e00.cjs} +1 -1
- package/dist/cjs/{lib-typedarrays-9fa57d11.cjs → lib-typedarrays-b3b1a9b2.cjs} +1 -1
- package/dist/cjs/{portis-5a3013c8.cjs → portis-2628aa40.cjs} +1 -1
- package/dist/cjs/provider-ed5b8d31.cjs +1 -0
- package/dist/cjs/providers/connector/alchemy/index.d.ts +0 -778
- package/dist/cjs/providers/connector/alchemy/provider.d.ts +45 -819
- package/dist/cjs/providers/connector/types.d.ts +3 -1
- package/dist/cjs/providers/wallets/standalone.d.ts +0 -1
- package/dist/cjs/rainbow-66ff0e60.cjs +1 -0
- package/dist/cjs/{sha224-8338dd12.cjs → sha224-e08c8475.cjs} +1 -1
- package/dist/cjs/sha256-ff3785f0.cjs +1 -0
- package/dist/cjs/uAuth-1c63d29f.cjs +1 -0
- package/dist/cjs/walletConnect-c94a63a7.cjs +1 -0
- package/dist/cjs/walletLink-24367174.cjs +3 -0
- package/dist/{draggabilly-15cf8dcf.js → draggabilly-e394dd03.js} +1 -1
- package/dist/ethers-33678100.js +1 -0
- package/dist/id-66098a37.js +1 -0
- package/dist/index-1fae0e53.js +1 -0
- package/dist/index-27bb4d53.js +1 -0
- package/dist/index-493358d6.js +1 -0
- package/dist/index-4f7c4b45.js +1 -0
- package/dist/{index-fdaf3888.js → index-578e2937.js} +2 -2
- package/dist/index-5b79ce49.js +1 -0
- package/dist/index-6aa8c5c1.js +1 -0
- package/dist/index-75067bb0.js +15 -0
- package/dist/index-76c2f135.js +9 -0
- package/dist/index-81e6d2c8.js +20 -0
- package/dist/index-9dc69b05.js +1 -0
- package/dist/{cjs/index-75832db2.cjs → index-cd748d86.js} +2 -2
- package/dist/index-fb276f03.js +1 -0
- package/dist/{index-ec43653c.js → index-fe4c3da3.js} +2 -2
- package/dist/index.es-79e3646d.js +9 -0
- package/dist/index.js +1 -1
- package/dist/{interface-ca042c89.js → interface-2be6959d.js} +1 -1
- package/dist/{lib-typedarrays-51f79f72.js → lib-typedarrays-0fb1b85c.js} +1 -1
- package/dist/{portis-6a17d6a8.js → portis-61fd1e59.js} +1 -1
- package/dist/provider-5ae74ef7.js +1 -0
- package/dist/providers/connector/alchemy/index.d.ts +0 -778
- package/dist/providers/connector/alchemy/provider.d.ts +45 -819
- package/dist/providers/connector/types.d.ts +3 -1
- package/dist/providers/wallets/standalone.d.ts +0 -1
- package/dist/rainbow-5edcbe7e.js +1 -0
- package/dist/sha224-ad024e21.js +1 -0
- package/dist/sha256-2a311540.js +1 -0
- package/dist/uAuth-70cae622.js +1 -0
- package/dist/walletConnect-526a0eb4.js +1 -0
- package/dist/{walletLink-30437dd1.js → walletLink-518a0d96.js} +2 -2
- package/package.json +6 -6
- package/dist/__tslib-5e721183.js +0 -1
- package/dist/alchemy-provider-5870b6fa-f604179e.js +0 -1
- package/dist/alchemy-websocket-provider-213da986-b21c4d98.js +0 -1
- package/dist/blocto-388a6d46.js +0 -1
- package/dist/ccip-8920e4a4.js +0 -1
- package/dist/cjs/__tslib-51bbe80a.cjs +0 -1
- package/dist/cjs/alchemy-provider-5870b6fa-1a301abf.cjs +0 -1
- package/dist/cjs/alchemy-websocket-provider-213da986-12cd2120.cjs +0 -1
- package/dist/cjs/blocto-c9f26371.cjs +0 -1
- package/dist/cjs/ccip-de10fc5c.cjs +0 -1
- package/dist/cjs/ethers-a2c9f7d9.cjs +0 -1
- package/dist/cjs/id-be8a7e8e.cjs +0 -1
- package/dist/cjs/index-03af6620.cjs +0 -1
- package/dist/cjs/index-176959ee.cjs +0 -1
- package/dist/cjs/index-2ffcf258.cjs +0 -15
- package/dist/cjs/index-59c76636.cjs +0 -28
- package/dist/cjs/index-6b705225.cjs +0 -1
- package/dist/cjs/index-9799d813.cjs +0 -1
- package/dist/cjs/index-a258c64d.cjs +0 -1
- package/dist/cjs/index-d4a4743c.cjs +0 -6
- package/dist/cjs/index.es-2b1bbe72.cjs +0 -9
- package/dist/cjs/provider-ef833945.cjs +0 -1
- package/dist/cjs/rainbow-c33bcd85.cjs +0 -1
- package/dist/cjs/sha256-48791f3c.cjs +0 -1
- package/dist/cjs/typed-data-7f14f9f2.cjs +0 -1
- package/dist/cjs/uAuth-e06c5782.cjs +0 -1
- package/dist/cjs/walletConnect-6aa55ebf.cjs +0 -1
- package/dist/cjs/walletLink-67bf2b39.cjs +0 -3
- package/dist/ethers-21cce102.js +0 -1
- package/dist/id-352419de.js +0 -1
- package/dist/index-159efa56.js +0 -1
- package/dist/index-234ade9b.js +0 -1
- package/dist/index-3c3e912f.js +0 -1
- package/dist/index-4839cfd1.js +0 -15
- package/dist/index-4b03dfd2.js +0 -1
- package/dist/index-8e9948ed.js +0 -1
- package/dist/index-91701d96.js +0 -1
- package/dist/index-9c4b8ca6.js +0 -28
- package/dist/index.es-d5c4fc17.js +0 -9
- package/dist/provider-acda2a5b.js +0 -1
- package/dist/rainbow-90910874.js +0 -1
- package/dist/sha224-76208ca9.js +0 -1
- package/dist/sha256-69ea1c2c.js +0 -1
- package/dist/typed-data-ed78d933.js +0 -1
- package/dist/uAuth-913433da.js +0 -1
- package/dist/walletConnect-c0c326f5.js +0 -1
|
@@ -2,787 +2,13 @@
|
|
|
2
2
|
import { ConnectorParams } from '../types';
|
|
3
3
|
import { JsonRpcSigner } from '@ethersproject/providers';
|
|
4
4
|
import { AlchemySigner } from '@alchemy/aa-alchemy';
|
|
5
|
-
|
|
6
|
-
export declare
|
|
7
|
-
|
|
5
|
+
export declare const supportChainIds: number[];
|
|
6
|
+
export declare function getAlchemySigner(alchemyParams: {
|
|
7
|
+
apiKey: string;
|
|
8
|
+
iframeId: string;
|
|
9
|
+
}): AlchemySigner;
|
|
8
10
|
export declare function createProvider(params: ConnectorParams): Promise<{
|
|
9
11
|
rpcUrl?: string | undefined;
|
|
10
|
-
readonly smartAccountClient: {
|
|
11
|
-
account: import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>;
|
|
12
|
-
batch?: {
|
|
13
|
-
multicall?: boolean | {
|
|
14
|
-
batchSize?: number | undefined;
|
|
15
|
-
wait?: number | undefined;
|
|
16
|
-
} | undefined;
|
|
17
|
-
} | undefined;
|
|
18
|
-
cacheTime: number;
|
|
19
|
-
chain: import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined;
|
|
20
|
-
key: string;
|
|
21
|
-
name: string;
|
|
22
|
-
pollingInterval: number;
|
|
23
|
-
request: import("viem").EIP1193RequestFn<[{
|
|
24
|
-
Method: "eth_sendUserOperation";
|
|
25
|
-
Parameters: [import("@alchemy/aa-core").UserOperationRequest_v6 | import("@alchemy/aa-core").UserOperationRequest_v7, `0x${string}`];
|
|
26
|
-
ReturnType: `0x${string}`;
|
|
27
|
-
}, {
|
|
28
|
-
Method: "eth_estimateUserOperationGas";
|
|
29
|
-
Parameters: [import("@alchemy/aa-core").UserOperationRequest_v6 | import("@alchemy/aa-core").UserOperationRequest_v7, `0x${string}`, (import("viem").StateOverride | undefined)?];
|
|
30
|
-
ReturnType: import("@alchemy/aa-core").UserOperationEstimateGasResponse<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>;
|
|
31
|
-
}, {
|
|
32
|
-
Method: "eth_getUserOperationReceipt";
|
|
33
|
-
Parameters: [`0x${string}`];
|
|
34
|
-
ReturnType: import("@alchemy/aa-core").UserOperationReceipt | null;
|
|
35
|
-
}, {
|
|
36
|
-
Method: "eth_getUserOperationByHash";
|
|
37
|
-
Parameters: [`0x${string}`];
|
|
38
|
-
ReturnType: import("@alchemy/aa-core").UserOperationResponse<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | null;
|
|
39
|
-
}, {
|
|
40
|
-
Method: "eth_supportedEntryPoints";
|
|
41
|
-
Parameters: [];
|
|
42
|
-
ReturnType: `0x${string}`[];
|
|
43
|
-
}, {
|
|
44
|
-
Method: "web3_clientVersion";
|
|
45
|
-
Parameters?: undefined;
|
|
46
|
-
ReturnType: string;
|
|
47
|
-
}, {
|
|
48
|
-
Method: "web3_sha3";
|
|
49
|
-
Parameters: [data: `0x${string}`];
|
|
50
|
-
ReturnType: string;
|
|
51
|
-
}, {
|
|
52
|
-
Method: "net_listening";
|
|
53
|
-
Parameters?: undefined;
|
|
54
|
-
ReturnType: boolean;
|
|
55
|
-
}, {
|
|
56
|
-
Method: "net_peerCount";
|
|
57
|
-
Parameters?: undefined;
|
|
58
|
-
ReturnType: `0x${string}`;
|
|
59
|
-
}, {
|
|
60
|
-
Method: "net_version";
|
|
61
|
-
Parameters?: undefined;
|
|
62
|
-
ReturnType: `0x${string}`;
|
|
63
|
-
}, {
|
|
64
|
-
Method: "eth_blobBaseFee";
|
|
65
|
-
Parameters?: undefined;
|
|
66
|
-
ReturnType: `0x${string}`;
|
|
67
|
-
}, {
|
|
68
|
-
Method: "eth_blockNumber";
|
|
69
|
-
Parameters?: undefined;
|
|
70
|
-
ReturnType: `0x${string}`;
|
|
71
|
-
}, {
|
|
72
|
-
Method: "eth_call";
|
|
73
|
-
Parameters: [transaction: Partial<import("viem").RpcTransactionRequest>] | [transaction: Partial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier] | [transaction: Partial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier, stateOverrideSet: import("viem").RpcStateOverride];
|
|
74
|
-
ReturnType: `0x${string}`;
|
|
75
|
-
}, {
|
|
76
|
-
Method: "eth_chainId";
|
|
77
|
-
Parameters?: undefined;
|
|
78
|
-
ReturnType: `0x${string}`;
|
|
79
|
-
}, {
|
|
80
|
-
Method: "eth_coinbase";
|
|
81
|
-
Parameters?: undefined;
|
|
82
|
-
ReturnType: `0x${string}`;
|
|
83
|
-
}, {
|
|
84
|
-
Method: "eth_estimateGas";
|
|
85
|
-
Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag];
|
|
86
|
-
ReturnType: `0x${string}`;
|
|
87
|
-
}, {
|
|
88
|
-
Method: "eth_feeHistory";
|
|
89
|
-
Parameters: [blockCount: `0x${string}`, newestBlock: `0x${string}` | import("viem").BlockTag, rewardPercentiles: number[] | undefined];
|
|
90
|
-
ReturnType: import("viem").RpcFeeHistory;
|
|
91
|
-
}, {
|
|
92
|
-
Method: "eth_gasPrice";
|
|
93
|
-
Parameters?: undefined;
|
|
94
|
-
ReturnType: `0x${string}`;
|
|
95
|
-
}, {
|
|
96
|
-
Method: "eth_getBalance";
|
|
97
|
-
Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
98
|
-
ReturnType: `0x${string}`;
|
|
99
|
-
}, {
|
|
100
|
-
Method: "eth_getBlockByHash";
|
|
101
|
-
Parameters: [hash: `0x${string}`, includeTransactionObjects: boolean];
|
|
102
|
-
ReturnType: import("viem").RpcBlock<import("viem").BlockTag, boolean, import("viem").RpcTransaction<boolean>> | null;
|
|
103
|
-
}, {
|
|
104
|
-
Method: "eth_getBlockByNumber";
|
|
105
|
-
Parameters: [block: `0x${string}` | import("viem").BlockTag, includeTransactionObjects: boolean];
|
|
106
|
-
ReturnType: import("viem").RpcBlock<import("viem").BlockTag, boolean, import("viem").RpcTransaction<boolean>> | null;
|
|
107
|
-
}, {
|
|
108
|
-
Method: "eth_getBlockTransactionCountByHash";
|
|
109
|
-
Parameters: [hash: `0x${string}`];
|
|
110
|
-
ReturnType: `0x${string}`;
|
|
111
|
-
}, {
|
|
112
|
-
Method: "eth_getBlockTransactionCountByNumber";
|
|
113
|
-
Parameters: [block: `0x${string}` | import("viem").BlockTag];
|
|
114
|
-
ReturnType: `0x${string}`;
|
|
115
|
-
}, {
|
|
116
|
-
Method: "eth_getCode";
|
|
117
|
-
Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
118
|
-
ReturnType: `0x${string}`;
|
|
119
|
-
}, {
|
|
120
|
-
Method: "eth_getFilterChanges";
|
|
121
|
-
Parameters: [filterId: `0x${string}`];
|
|
122
|
-
ReturnType: `0x${string}`[] | import("viem").RpcLog[];
|
|
123
|
-
}, {
|
|
124
|
-
Method: "eth_getFilterLogs";
|
|
125
|
-
Parameters: [filterId: `0x${string}`];
|
|
126
|
-
ReturnType: import("viem").RpcLog[];
|
|
127
|
-
}, {
|
|
128
|
-
Method: "eth_getLogs";
|
|
129
|
-
Parameters: [{
|
|
130
|
-
address?: `0x${string}` | `0x${string}`[] | undefined;
|
|
131
|
-
topics?: import("viem").LogTopic[] | undefined;
|
|
132
|
-
} & ({
|
|
133
|
-
fromBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
134
|
-
toBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
135
|
-
blockHash?: undefined;
|
|
136
|
-
} | {
|
|
137
|
-
fromBlock?: undefined;
|
|
138
|
-
toBlock?: undefined;
|
|
139
|
-
blockHash?: `0x${string}` | undefined;
|
|
140
|
-
})];
|
|
141
|
-
ReturnType: import("viem").RpcLog[];
|
|
142
|
-
}, {
|
|
143
|
-
Method: "eth_getProof";
|
|
144
|
-
Parameters: [address: `0x${string}`, storageKeys: `0x${string}`[], block: `0x${string}` | import("viem").BlockTag];
|
|
145
|
-
ReturnType: import("viem").RpcProof;
|
|
146
|
-
}, {
|
|
147
|
-
Method: "eth_getStorageAt";
|
|
148
|
-
Parameters: [address: `0x${string}`, index: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
149
|
-
ReturnType: `0x${string}`;
|
|
150
|
-
}, {
|
|
151
|
-
Method: "eth_getTransactionByBlockHashAndIndex";
|
|
152
|
-
Parameters: [hash: `0x${string}`, index: `0x${string}`];
|
|
153
|
-
ReturnType: import("viem").RpcTransaction<boolean> | null;
|
|
154
|
-
}, {
|
|
155
|
-
Method: "eth_getTransactionByBlockNumberAndIndex";
|
|
156
|
-
Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
|
|
157
|
-
ReturnType: import("viem").RpcTransaction<boolean> | null;
|
|
158
|
-
}, {
|
|
159
|
-
Method: "eth_getTransactionByHash";
|
|
160
|
-
Parameters: [hash: `0x${string}`];
|
|
161
|
-
ReturnType: import("viem").RpcTransaction<boolean> | null;
|
|
162
|
-
}, {
|
|
163
|
-
Method: "eth_getTransactionCount";
|
|
164
|
-
Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
165
|
-
ReturnType: `0x${string}`;
|
|
166
|
-
}, {
|
|
167
|
-
Method: "eth_getTransactionReceipt";
|
|
168
|
-
Parameters: [hash: `0x${string}`];
|
|
169
|
-
ReturnType: import("viem").RpcTransactionReceipt | null;
|
|
170
|
-
}, {
|
|
171
|
-
Method: "eth_getUncleByBlockHashAndIndex";
|
|
172
|
-
Parameters: [hash: `0x${string}`, index: `0x${string}`];
|
|
173
|
-
ReturnType: import("viem").RpcUncle | null;
|
|
174
|
-
}, {
|
|
175
|
-
Method: "eth_getUncleByBlockNumberAndIndex";
|
|
176
|
-
Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
|
|
177
|
-
ReturnType: import("viem").RpcUncle | null;
|
|
178
|
-
}, {
|
|
179
|
-
Method: "eth_getUncleCountByBlockHash";
|
|
180
|
-
Parameters: [hash: `0x${string}`];
|
|
181
|
-
ReturnType: `0x${string}`;
|
|
182
|
-
}, {
|
|
183
|
-
Method: "eth_getUncleCountByBlockNumber";
|
|
184
|
-
Parameters: [block: `0x${string}` | import("viem").BlockTag];
|
|
185
|
-
ReturnType: `0x${string}`;
|
|
186
|
-
}, {
|
|
187
|
-
Method: "eth_maxPriorityFeePerGas";
|
|
188
|
-
Parameters?: undefined;
|
|
189
|
-
ReturnType: `0x${string}`;
|
|
190
|
-
}, {
|
|
191
|
-
Method: "eth_newBlockFilter";
|
|
192
|
-
Parameters?: undefined;
|
|
193
|
-
ReturnType: `0x${string}`;
|
|
194
|
-
}, {
|
|
195
|
-
Method: "eth_newFilter";
|
|
196
|
-
Parameters: [filter: {
|
|
197
|
-
fromBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
198
|
-
toBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
199
|
-
address?: `0x${string}` | `0x${string}`[] | undefined;
|
|
200
|
-
topics?: import("viem").LogTopic[] | undefined;
|
|
201
|
-
}];
|
|
202
|
-
ReturnType: `0x${string}`;
|
|
203
|
-
}, {
|
|
204
|
-
Method: "eth_newPendingTransactionFilter";
|
|
205
|
-
Parameters?: undefined;
|
|
206
|
-
ReturnType: `0x${string}`;
|
|
207
|
-
}, {
|
|
208
|
-
Method: "eth_protocolVersion";
|
|
209
|
-
Parameters?: undefined;
|
|
210
|
-
ReturnType: string;
|
|
211
|
-
}, {
|
|
212
|
-
Method: "eth_sendRawTransaction";
|
|
213
|
-
Parameters: [signedTransaction: `0x${string}`];
|
|
214
|
-
ReturnType: `0x${string}`;
|
|
215
|
-
}, {
|
|
216
|
-
Method: "eth_uninstallFilter";
|
|
217
|
-
Parameters: [filterId: `0x${string}`];
|
|
218
|
-
ReturnType: boolean;
|
|
219
|
-
}, {
|
|
220
|
-
Method: "alchemy_requestPaymasterAndData";
|
|
221
|
-
Parameters: [{
|
|
222
|
-
policyId: string;
|
|
223
|
-
entryPoint: `0x${string}`;
|
|
224
|
-
userOperation: import("@alchemy/aa-core").UserOperationRequest_v6 | import("@alchemy/aa-core").UserOperationRequest_v7;
|
|
225
|
-
}];
|
|
226
|
-
ReturnType: {
|
|
227
|
-
paymasterAndData: `0x${string}`;
|
|
228
|
-
} | Pick<import("@alchemy/aa-core").UserOperationRequest_v7, "paymaster" | "paymasterData">;
|
|
229
|
-
}, {
|
|
230
|
-
Method: "alchemy_requestGasAndPaymasterAndData";
|
|
231
|
-
Parameters: [{
|
|
232
|
-
policyId: string;
|
|
233
|
-
entryPoint: `0x${string}`;
|
|
234
|
-
userOperation: import("@alchemy/aa-core").UserOperationRequest_v6 | import("@alchemy/aa-core").UserOperationRequest_v7;
|
|
235
|
-
dummySignature: `0x${string}`;
|
|
236
|
-
overrides?: Partial<{}> | undefined;
|
|
237
|
-
}];
|
|
238
|
-
ReturnType: import("@alchemy/aa-alchemy").RequestGasAndPaymasterAndDataResponse<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>;
|
|
239
|
-
}, {
|
|
240
|
-
Method: "alchemy_simulateUserOperationAssetChanges";
|
|
241
|
-
Parameters: import("@alchemy/aa-alchemy").SimulateUserOperationAssetChangesRequest;
|
|
242
|
-
ReturnType: import("@alchemy/aa-alchemy").SimulateUserOperationAssetChangesResponse;
|
|
243
|
-
}, {
|
|
244
|
-
Method: "rundler_maxPriorityFeePerGas";
|
|
245
|
-
Parameters: [];
|
|
246
|
-
ReturnType: `0x${string}`;
|
|
247
|
-
}]>;
|
|
248
|
-
transport: import("viem").TransportConfig<"custom", import("viem").EIP1193RequestFn<undefined>>;
|
|
249
|
-
type: string;
|
|
250
|
-
uid: string;
|
|
251
|
-
updateOwners: (args: Pick<import("viem").EncodeFunctionDataParameters<readonly [{
|
|
252
|
-
readonly stateMutability: "nonpayable";
|
|
253
|
-
readonly type: "function";
|
|
254
|
-
readonly inputs: readonly [{
|
|
255
|
-
readonly name: "ownersToAdd";
|
|
256
|
-
readonly internalType: "address[]";
|
|
257
|
-
readonly type: "address[]";
|
|
258
|
-
}, {
|
|
259
|
-
readonly name: "ownersToRemove";
|
|
260
|
-
readonly internalType: "address[]";
|
|
261
|
-
readonly type: "address[]";
|
|
262
|
-
}];
|
|
263
|
-
readonly name: "updateOwners";
|
|
264
|
-
readonly outputs: readonly [];
|
|
265
|
-
}, {
|
|
266
|
-
readonly stateMutability: "view";
|
|
267
|
-
readonly type: "function";
|
|
268
|
-
readonly inputs: readonly [];
|
|
269
|
-
readonly name: "eip712Domain";
|
|
270
|
-
readonly outputs: readonly [{
|
|
271
|
-
readonly name: "fields";
|
|
272
|
-
readonly internalType: "bytes1";
|
|
273
|
-
readonly type: "bytes1";
|
|
274
|
-
}, {
|
|
275
|
-
readonly name: "name";
|
|
276
|
-
readonly internalType: "string";
|
|
277
|
-
readonly type: "string";
|
|
278
|
-
}, {
|
|
279
|
-
readonly name: "version";
|
|
280
|
-
readonly internalType: "string";
|
|
281
|
-
readonly type: "string";
|
|
282
|
-
}, {
|
|
283
|
-
readonly name: "chainId";
|
|
284
|
-
readonly internalType: "uint256";
|
|
285
|
-
readonly type: "uint256";
|
|
286
|
-
}, {
|
|
287
|
-
readonly name: "verifyingContract";
|
|
288
|
-
readonly internalType: "address";
|
|
289
|
-
readonly type: "address";
|
|
290
|
-
}, {
|
|
291
|
-
readonly name: "salt";
|
|
292
|
-
readonly internalType: "bytes32";
|
|
293
|
-
readonly type: "bytes32";
|
|
294
|
-
}, {
|
|
295
|
-
readonly name: "extensions";
|
|
296
|
-
readonly internalType: "uint256[]";
|
|
297
|
-
readonly type: "uint256[]";
|
|
298
|
-
}];
|
|
299
|
-
}, {
|
|
300
|
-
readonly stateMutability: "view";
|
|
301
|
-
readonly type: "function";
|
|
302
|
-
readonly inputs: readonly [{
|
|
303
|
-
readonly name: "digest";
|
|
304
|
-
readonly internalType: "bytes32";
|
|
305
|
-
readonly type: "bytes32";
|
|
306
|
-
}, {
|
|
307
|
-
readonly name: "signature";
|
|
308
|
-
readonly internalType: "bytes";
|
|
309
|
-
readonly type: "bytes";
|
|
310
|
-
}];
|
|
311
|
-
readonly name: "isValidSignature";
|
|
312
|
-
readonly outputs: readonly [{
|
|
313
|
-
readonly name: "";
|
|
314
|
-
readonly internalType: "bytes4";
|
|
315
|
-
readonly type: "bytes4";
|
|
316
|
-
}];
|
|
317
|
-
}], "updateOwners", true, readonly [readonly `0x${string}`[], readonly `0x${string}`[]], "updateOwners" | "eip712Domain" | "isValidSignature">, "args"> & {
|
|
318
|
-
overrides?: Partial<{
|
|
319
|
-
callGasLimit: number | bigint | `0x${string}` | {
|
|
320
|
-
multiplier: number;
|
|
321
|
-
} | undefined;
|
|
322
|
-
maxFeePerGas: number | bigint | `0x${string}` | {
|
|
323
|
-
multiplier: number;
|
|
324
|
-
} | undefined;
|
|
325
|
-
maxPriorityFeePerGas: number | bigint | `0x${string}` | {
|
|
326
|
-
multiplier: number;
|
|
327
|
-
} | undefined;
|
|
328
|
-
preVerificationGas: number | bigint | `0x${string}` | {
|
|
329
|
-
multiplier: number;
|
|
330
|
-
} | undefined;
|
|
331
|
-
verificationGasLimit: number | bigint | `0x${string}` | {
|
|
332
|
-
multiplier: number;
|
|
333
|
-
} | undefined;
|
|
334
|
-
nonceKey: bigint;
|
|
335
|
-
stateOverride: import("viem").StateOverride;
|
|
336
|
-
} & ({
|
|
337
|
-
paymasterAndData: "0x";
|
|
338
|
-
} | {
|
|
339
|
-
paymasterData: "0x";
|
|
340
|
-
paymasterVerificationGasLimit: number | bigint | `0x${string}` | {
|
|
341
|
-
multiplier: number;
|
|
342
|
-
};
|
|
343
|
-
paymasterPostOpGasLimit: number | bigint | `0x${string}` | {
|
|
344
|
-
multiplier: number;
|
|
345
|
-
};
|
|
346
|
-
})> | undefined;
|
|
347
|
-
} & {
|
|
348
|
-
account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
|
|
349
|
-
} & {
|
|
350
|
-
context?: undefined;
|
|
351
|
-
}) => Promise<import("@alchemy/aa-core").SendUserOperationResult<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>>;
|
|
352
|
-
installMultiOwnerPlugin: (args: {
|
|
353
|
-
overrides?: Partial<{
|
|
354
|
-
callGasLimit: number | bigint | `0x${string}` | {
|
|
355
|
-
multiplier: number;
|
|
356
|
-
} | undefined;
|
|
357
|
-
maxFeePerGas: number | bigint | `0x${string}` | {
|
|
358
|
-
multiplier: number;
|
|
359
|
-
} | undefined;
|
|
360
|
-
maxPriorityFeePerGas: number | bigint | `0x${string}` | {
|
|
361
|
-
multiplier: number;
|
|
362
|
-
} | undefined;
|
|
363
|
-
preVerificationGas: number | bigint | `0x${string}` | {
|
|
364
|
-
multiplier: number;
|
|
365
|
-
} | undefined;
|
|
366
|
-
verificationGasLimit: number | bigint | `0x${string}` | {
|
|
367
|
-
multiplier: number;
|
|
368
|
-
} | undefined;
|
|
369
|
-
nonceKey: bigint;
|
|
370
|
-
stateOverride: import("viem").StateOverride;
|
|
371
|
-
} & ({
|
|
372
|
-
paymasterAndData: "0x";
|
|
373
|
-
} | {
|
|
374
|
-
paymasterData: "0x";
|
|
375
|
-
paymasterVerificationGasLimit: number | bigint | `0x${string}` | {
|
|
376
|
-
multiplier: number;
|
|
377
|
-
};
|
|
378
|
-
paymasterPostOpGasLimit: number | bigint | `0x${string}` | {
|
|
379
|
-
multiplier: number;
|
|
380
|
-
};
|
|
381
|
-
})> | undefined;
|
|
382
|
-
} & import("@alchemy/aa-accounts/dist/types/src/msca/plugins/multi-owner/plugin").InstallMultiOwnerPluginParams & {
|
|
383
|
-
account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
|
|
384
|
-
} & {
|
|
385
|
-
context?: undefined;
|
|
386
|
-
}) => Promise<import("@alchemy/aa-core").SendUserOperationResult<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>>;
|
|
387
|
-
encodeUpdateOwners: (args: Pick<import("viem").EncodeFunctionDataParameters<readonly [{
|
|
388
|
-
readonly stateMutability: "nonpayable";
|
|
389
|
-
readonly type: "function";
|
|
390
|
-
readonly inputs: readonly [{
|
|
391
|
-
readonly name: "ownersToAdd";
|
|
392
|
-
readonly internalType: "address[]";
|
|
393
|
-
readonly type: "address[]";
|
|
394
|
-
}, {
|
|
395
|
-
readonly name: "ownersToRemove";
|
|
396
|
-
readonly internalType: "address[]";
|
|
397
|
-
readonly type: "address[]";
|
|
398
|
-
}];
|
|
399
|
-
readonly name: "updateOwners";
|
|
400
|
-
readonly outputs: readonly [];
|
|
401
|
-
}, {
|
|
402
|
-
readonly stateMutability: "view";
|
|
403
|
-
readonly type: "function";
|
|
404
|
-
readonly inputs: readonly [];
|
|
405
|
-
readonly name: "eip712Domain";
|
|
406
|
-
readonly outputs: readonly [{
|
|
407
|
-
readonly name: "fields";
|
|
408
|
-
readonly internalType: "bytes1";
|
|
409
|
-
readonly type: "bytes1";
|
|
410
|
-
}, {
|
|
411
|
-
readonly name: "name";
|
|
412
|
-
readonly internalType: "string";
|
|
413
|
-
readonly type: "string";
|
|
414
|
-
}, {
|
|
415
|
-
readonly name: "version";
|
|
416
|
-
readonly internalType: "string";
|
|
417
|
-
readonly type: "string";
|
|
418
|
-
}, {
|
|
419
|
-
readonly name: "chainId";
|
|
420
|
-
readonly internalType: "uint256";
|
|
421
|
-
readonly type: "uint256";
|
|
422
|
-
}, {
|
|
423
|
-
readonly name: "verifyingContract";
|
|
424
|
-
readonly internalType: "address";
|
|
425
|
-
readonly type: "address";
|
|
426
|
-
}, {
|
|
427
|
-
readonly name: "salt";
|
|
428
|
-
readonly internalType: "bytes32";
|
|
429
|
-
readonly type: "bytes32";
|
|
430
|
-
}, {
|
|
431
|
-
readonly name: "extensions";
|
|
432
|
-
readonly internalType: "uint256[]";
|
|
433
|
-
readonly type: "uint256[]";
|
|
434
|
-
}];
|
|
435
|
-
}, {
|
|
436
|
-
readonly stateMutability: "view";
|
|
437
|
-
readonly type: "function";
|
|
438
|
-
readonly inputs: readonly [{
|
|
439
|
-
readonly name: "digest";
|
|
440
|
-
readonly internalType: "bytes32";
|
|
441
|
-
readonly type: "bytes32";
|
|
442
|
-
}, {
|
|
443
|
-
readonly name: "signature";
|
|
444
|
-
readonly internalType: "bytes";
|
|
445
|
-
readonly type: "bytes";
|
|
446
|
-
}];
|
|
447
|
-
readonly name: "isValidSignature";
|
|
448
|
-
readonly outputs: readonly [{
|
|
449
|
-
readonly name: "";
|
|
450
|
-
readonly internalType: "bytes4";
|
|
451
|
-
readonly type: "bytes4";
|
|
452
|
-
}];
|
|
453
|
-
}], "updateOwners", true, readonly [readonly `0x${string}`[], readonly `0x${string}`[]], "updateOwners" | "eip712Domain" | "isValidSignature">, "args">) => `0x${string}`;
|
|
454
|
-
encodeEip712Domain: (args: Pick<import("viem").EncodeFunctionDataParameters<readonly [{
|
|
455
|
-
readonly stateMutability: "nonpayable";
|
|
456
|
-
readonly type: "function";
|
|
457
|
-
readonly inputs: readonly [{
|
|
458
|
-
readonly name: "ownersToAdd";
|
|
459
|
-
readonly internalType: "address[]";
|
|
460
|
-
readonly type: "address[]";
|
|
461
|
-
}, {
|
|
462
|
-
readonly name: "ownersToRemove";
|
|
463
|
-
readonly internalType: "address[]";
|
|
464
|
-
readonly type: "address[]";
|
|
465
|
-
}];
|
|
466
|
-
readonly name: "updateOwners";
|
|
467
|
-
readonly outputs: readonly [];
|
|
468
|
-
}, {
|
|
469
|
-
readonly stateMutability: "view";
|
|
470
|
-
readonly type: "function";
|
|
471
|
-
readonly inputs: readonly [];
|
|
472
|
-
readonly name: "eip712Domain";
|
|
473
|
-
readonly outputs: readonly [{
|
|
474
|
-
readonly name: "fields";
|
|
475
|
-
readonly internalType: "bytes1";
|
|
476
|
-
readonly type: "bytes1";
|
|
477
|
-
}, {
|
|
478
|
-
readonly name: "name";
|
|
479
|
-
readonly internalType: "string";
|
|
480
|
-
readonly type: "string";
|
|
481
|
-
}, {
|
|
482
|
-
readonly name: "version";
|
|
483
|
-
readonly internalType: "string";
|
|
484
|
-
readonly type: "string";
|
|
485
|
-
}, {
|
|
486
|
-
readonly name: "chainId";
|
|
487
|
-
readonly internalType: "uint256";
|
|
488
|
-
readonly type: "uint256";
|
|
489
|
-
}, {
|
|
490
|
-
readonly name: "verifyingContract";
|
|
491
|
-
readonly internalType: "address";
|
|
492
|
-
readonly type: "address";
|
|
493
|
-
}, {
|
|
494
|
-
readonly name: "salt";
|
|
495
|
-
readonly internalType: "bytes32";
|
|
496
|
-
readonly type: "bytes32";
|
|
497
|
-
}, {
|
|
498
|
-
readonly name: "extensions";
|
|
499
|
-
readonly internalType: "uint256[]";
|
|
500
|
-
readonly type: "uint256[]";
|
|
501
|
-
}];
|
|
502
|
-
}, {
|
|
503
|
-
readonly stateMutability: "view";
|
|
504
|
-
readonly type: "function";
|
|
505
|
-
readonly inputs: readonly [{
|
|
506
|
-
readonly name: "digest";
|
|
507
|
-
readonly internalType: "bytes32";
|
|
508
|
-
readonly type: "bytes32";
|
|
509
|
-
}, {
|
|
510
|
-
readonly name: "signature";
|
|
511
|
-
readonly internalType: "bytes";
|
|
512
|
-
readonly type: "bytes";
|
|
513
|
-
}];
|
|
514
|
-
readonly name: "isValidSignature";
|
|
515
|
-
readonly outputs: readonly [{
|
|
516
|
-
readonly name: "";
|
|
517
|
-
readonly internalType: "bytes4";
|
|
518
|
-
readonly type: "bytes4";
|
|
519
|
-
}];
|
|
520
|
-
}], "eip712Domain", true, readonly [], "updateOwners" | "eip712Domain" | "isValidSignature">, "args">) => `0x${string}`;
|
|
521
|
-
readEip712Domain: (args: {
|
|
522
|
-
account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
|
|
523
|
-
}) => Promise<readonly [`0x${string}`, string, string, bigint, `0x${string}`, `0x${string}`, readonly bigint[]]>;
|
|
524
|
-
encodeIsValidSignature: (args: Pick<import("viem").EncodeFunctionDataParameters<readonly [{
|
|
525
|
-
readonly stateMutability: "nonpayable";
|
|
526
|
-
readonly type: "function";
|
|
527
|
-
readonly inputs: readonly [{
|
|
528
|
-
readonly name: "ownersToAdd";
|
|
529
|
-
readonly internalType: "address[]";
|
|
530
|
-
readonly type: "address[]";
|
|
531
|
-
}, {
|
|
532
|
-
readonly name: "ownersToRemove";
|
|
533
|
-
readonly internalType: "address[]";
|
|
534
|
-
readonly type: "address[]";
|
|
535
|
-
}];
|
|
536
|
-
readonly name: "updateOwners";
|
|
537
|
-
readonly outputs: readonly [];
|
|
538
|
-
}, {
|
|
539
|
-
readonly stateMutability: "view";
|
|
540
|
-
readonly type: "function";
|
|
541
|
-
readonly inputs: readonly [];
|
|
542
|
-
readonly name: "eip712Domain";
|
|
543
|
-
readonly outputs: readonly [{
|
|
544
|
-
readonly name: "fields";
|
|
545
|
-
readonly internalType: "bytes1";
|
|
546
|
-
readonly type: "bytes1";
|
|
547
|
-
}, {
|
|
548
|
-
readonly name: "name";
|
|
549
|
-
readonly internalType: "string";
|
|
550
|
-
readonly type: "string";
|
|
551
|
-
}, {
|
|
552
|
-
readonly name: "version";
|
|
553
|
-
readonly internalType: "string";
|
|
554
|
-
readonly type: "string";
|
|
555
|
-
}, {
|
|
556
|
-
readonly name: "chainId";
|
|
557
|
-
readonly internalType: "uint256";
|
|
558
|
-
readonly type: "uint256";
|
|
559
|
-
}, {
|
|
560
|
-
readonly name: "verifyingContract";
|
|
561
|
-
readonly internalType: "address";
|
|
562
|
-
readonly type: "address";
|
|
563
|
-
}, {
|
|
564
|
-
readonly name: "salt";
|
|
565
|
-
readonly internalType: "bytes32";
|
|
566
|
-
readonly type: "bytes32";
|
|
567
|
-
}, {
|
|
568
|
-
readonly name: "extensions";
|
|
569
|
-
readonly internalType: "uint256[]";
|
|
570
|
-
readonly type: "uint256[]";
|
|
571
|
-
}];
|
|
572
|
-
}, {
|
|
573
|
-
readonly stateMutability: "view";
|
|
574
|
-
readonly type: "function";
|
|
575
|
-
readonly inputs: readonly [{
|
|
576
|
-
readonly name: "digest";
|
|
577
|
-
readonly internalType: "bytes32";
|
|
578
|
-
readonly type: "bytes32";
|
|
579
|
-
}, {
|
|
580
|
-
readonly name: "signature";
|
|
581
|
-
readonly internalType: "bytes";
|
|
582
|
-
readonly type: "bytes";
|
|
583
|
-
}];
|
|
584
|
-
readonly name: "isValidSignature";
|
|
585
|
-
readonly outputs: readonly [{
|
|
586
|
-
readonly name: "";
|
|
587
|
-
readonly internalType: "bytes4";
|
|
588
|
-
readonly type: "bytes4";
|
|
589
|
-
}];
|
|
590
|
-
}], "isValidSignature", true, readonly [`0x${string}`, `0x${string}`], "updateOwners" | "eip712Domain" | "isValidSignature">, "args">) => `0x${string}`;
|
|
591
|
-
readIsValidSignature: (args: Pick<import("viem").EncodeFunctionDataParameters<readonly [{
|
|
592
|
-
readonly stateMutability: "nonpayable";
|
|
593
|
-
readonly type: "function";
|
|
594
|
-
readonly inputs: readonly [{
|
|
595
|
-
readonly name: "ownersToAdd";
|
|
596
|
-
readonly internalType: "address[]";
|
|
597
|
-
readonly type: "address[]";
|
|
598
|
-
}, {
|
|
599
|
-
readonly name: "ownersToRemove";
|
|
600
|
-
readonly internalType: "address[]";
|
|
601
|
-
readonly type: "address[]";
|
|
602
|
-
}];
|
|
603
|
-
readonly name: "updateOwners";
|
|
604
|
-
readonly outputs: readonly [];
|
|
605
|
-
}, {
|
|
606
|
-
readonly stateMutability: "view";
|
|
607
|
-
readonly type: "function";
|
|
608
|
-
readonly inputs: readonly [];
|
|
609
|
-
readonly name: "eip712Domain";
|
|
610
|
-
readonly outputs: readonly [{
|
|
611
|
-
readonly name: "fields";
|
|
612
|
-
readonly internalType: "bytes1";
|
|
613
|
-
readonly type: "bytes1";
|
|
614
|
-
}, {
|
|
615
|
-
readonly name: "name";
|
|
616
|
-
readonly internalType: "string";
|
|
617
|
-
readonly type: "string";
|
|
618
|
-
}, {
|
|
619
|
-
readonly name: "version";
|
|
620
|
-
readonly internalType: "string";
|
|
621
|
-
readonly type: "string";
|
|
622
|
-
}, {
|
|
623
|
-
readonly name: "chainId";
|
|
624
|
-
readonly internalType: "uint256";
|
|
625
|
-
readonly type: "uint256";
|
|
626
|
-
}, {
|
|
627
|
-
readonly name: "verifyingContract";
|
|
628
|
-
readonly internalType: "address";
|
|
629
|
-
readonly type: "address";
|
|
630
|
-
}, {
|
|
631
|
-
readonly name: "salt";
|
|
632
|
-
readonly internalType: "bytes32";
|
|
633
|
-
readonly type: "bytes32";
|
|
634
|
-
}, {
|
|
635
|
-
readonly name: "extensions";
|
|
636
|
-
readonly internalType: "uint256[]";
|
|
637
|
-
readonly type: "uint256[]";
|
|
638
|
-
}];
|
|
639
|
-
}, {
|
|
640
|
-
readonly stateMutability: "view";
|
|
641
|
-
readonly type: "function";
|
|
642
|
-
readonly inputs: readonly [{
|
|
643
|
-
readonly name: "digest";
|
|
644
|
-
readonly internalType: "bytes32";
|
|
645
|
-
readonly type: "bytes32";
|
|
646
|
-
}, {
|
|
647
|
-
readonly name: "signature";
|
|
648
|
-
readonly internalType: "bytes";
|
|
649
|
-
readonly type: "bytes";
|
|
650
|
-
}];
|
|
651
|
-
readonly name: "isValidSignature";
|
|
652
|
-
readonly outputs: readonly [{
|
|
653
|
-
readonly name: "";
|
|
654
|
-
readonly internalType: "bytes4";
|
|
655
|
-
readonly type: "bytes4";
|
|
656
|
-
}];
|
|
657
|
-
}], "isValidSignature", true, readonly [`0x${string}`, `0x${string}`], "updateOwners" | "eip712Domain" | "isValidSignature">, "args"> & {
|
|
658
|
-
account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
|
|
659
|
-
}) => Promise<`0x${string}`>;
|
|
660
|
-
readOwners: ((params: import("@alchemy/aa-accounts").GetPluginAddressParameter & {
|
|
661
|
-
account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
|
|
662
|
-
}) => Promise<readonly `0x${string}`[]>) & ((params?: (import("@alchemy/aa-accounts").GetPluginAddressParameter & {
|
|
663
|
-
account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
|
|
664
|
-
}) | undefined) => Promise<readonly `0x${string}`[]>);
|
|
665
|
-
isOwnerOf: (params: {
|
|
666
|
-
address: `0x${string}`;
|
|
667
|
-
} & import("@alchemy/aa-accounts").GetPluginAddressParameter & {
|
|
668
|
-
account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
|
|
669
|
-
}) => Promise<boolean>;
|
|
670
|
-
installPlugin: (params: import("@alchemy/aa-accounts").InstallPluginParams<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, Record<string, unknown> | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<import("@alchemy/aa-core").SendUserOperationResult<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>>;
|
|
671
|
-
uninstallPlugin: (params: import("@alchemy/aa-accounts").UninstallPluginParams<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<import("@alchemy/aa-core").SendUserOperationResult<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>>;
|
|
672
|
-
getExecutionFunctionConfig: (args: {
|
|
673
|
-
selector: `0x${string}`;
|
|
674
|
-
} & {
|
|
675
|
-
account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
|
|
676
|
-
}) => Promise<import("@alchemy/aa-accounts").ExecutionFunctionConfig>;
|
|
677
|
-
getExecutionHooks: (args: {
|
|
678
|
-
selector: `0x${string}`;
|
|
679
|
-
} & {
|
|
680
|
-
account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
|
|
681
|
-
}) => Promise<readonly import("@alchemy/aa-accounts").ExecutionHooks[]>;
|
|
682
|
-
getPreValidationHooks: (args: {
|
|
683
|
-
selector: `0x${string}`;
|
|
684
|
-
} & {
|
|
685
|
-
account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
|
|
686
|
-
}) => Promise<readonly [readonly `0x${string}`[], readonly `0x${string}`[]]>;
|
|
687
|
-
getInstalledPlugins: (args: {
|
|
688
|
-
account?: import("@alchemy/aa-core").SmartContractAccount<string, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | undefined;
|
|
689
|
-
}) => Promise<readonly `0x${string}`[]>;
|
|
690
|
-
buildUserOperation: (args: import("@alchemy/aa-core").BuildUserOperationParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<import("@alchemy/aa-core").UserOperationStruct_v6 | import("@alchemy/aa-core").UserOperationStruct_v7>;
|
|
691
|
-
buildUserOperationFromTx: (args: import("viem").SendTransactionParameters<import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined, import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined, import("viem").SendTransactionRequest<import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined, import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined, import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined>>, overrides?: Partial<{
|
|
692
|
-
callGasLimit: number | bigint | `0x${string}` | {
|
|
693
|
-
multiplier: number;
|
|
694
|
-
} | undefined;
|
|
695
|
-
maxFeePerGas: number | bigint | `0x${string}` | {
|
|
696
|
-
multiplier: number;
|
|
697
|
-
} | undefined;
|
|
698
|
-
maxPriorityFeePerGas: number | bigint | `0x${string}` | {
|
|
699
|
-
multiplier: number;
|
|
700
|
-
} | undefined;
|
|
701
|
-
preVerificationGas: number | bigint | `0x${string}` | {
|
|
702
|
-
multiplier: number;
|
|
703
|
-
} | undefined;
|
|
704
|
-
verificationGasLimit: number | bigint | `0x${string}` | {
|
|
705
|
-
multiplier: number;
|
|
706
|
-
} | undefined;
|
|
707
|
-
nonceKey: bigint;
|
|
708
|
-
stateOverride: import("viem").StateOverride;
|
|
709
|
-
} & ({
|
|
710
|
-
paymasterAndData: "0x";
|
|
711
|
-
} | {
|
|
712
|
-
paymasterData: "0x";
|
|
713
|
-
paymasterVerificationGasLimit: number | bigint | `0x${string}` | {
|
|
714
|
-
multiplier: number;
|
|
715
|
-
};
|
|
716
|
-
paymasterPostOpGasLimit: number | bigint | `0x${string}` | {
|
|
717
|
-
multiplier: number;
|
|
718
|
-
};
|
|
719
|
-
})> | undefined, context?: import("@alchemy/aa-core").UserOperationContext | undefined) => Promise<import("@alchemy/aa-core").UserOperationStruct_v6 | import("@alchemy/aa-core").UserOperationStruct_v7>;
|
|
720
|
-
buildUserOperationFromTxs: (args: import("@alchemy/aa-core").BuildTransactionParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<import("@alchemy/aa-core").BuildUserOperationFromTransactionsResult<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>>;
|
|
721
|
-
checkGasSponsorshipEligibility: <TContext extends import("@alchemy/aa-core").UserOperationContext | undefined = import("@alchemy/aa-core").UserOperationContext | undefined>(args: import("@alchemy/aa-core").SendUserOperationParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, TContext, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<boolean>;
|
|
722
|
-
signUserOperation: (args: import("@alchemy/aa-core").SignUserOperationParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>, import("@alchemy/aa-core").UserOperationContext | undefined>) => Promise<import("@alchemy/aa-core").UserOperationRequest_v6 | import("@alchemy/aa-core").UserOperationRequest_v7>;
|
|
723
|
-
dropAndReplaceUserOperation: (args: import("@alchemy/aa-core").DropAndReplaceUserOperationParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<import("@alchemy/aa-core").SendUserOperationResult<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>>;
|
|
724
|
-
sendTransaction: <TChainOverride extends import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined = undefined>(args: import("viem").SendTransactionParameters<import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined, import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, TChainOverride, import("viem").SendTransactionRequest<import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined, TChainOverride, import("viem").DeriveChain<import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined, TChainOverride>>>, overrides?: Partial<{
|
|
725
|
-
callGasLimit: number | bigint | `0x${string}` | {
|
|
726
|
-
multiplier: number;
|
|
727
|
-
} | undefined;
|
|
728
|
-
maxFeePerGas: number | bigint | `0x${string}` | {
|
|
729
|
-
multiplier: number;
|
|
730
|
-
} | undefined;
|
|
731
|
-
maxPriorityFeePerGas: number | bigint | `0x${string}` | {
|
|
732
|
-
multiplier: number;
|
|
733
|
-
} | undefined;
|
|
734
|
-
preVerificationGas: number | bigint | `0x${string}` | {
|
|
735
|
-
multiplier: number;
|
|
736
|
-
} | undefined;
|
|
737
|
-
verificationGasLimit: number | bigint | `0x${string}` | {
|
|
738
|
-
multiplier: number;
|
|
739
|
-
} | undefined;
|
|
740
|
-
nonceKey: bigint;
|
|
741
|
-
stateOverride: import("viem").StateOverride;
|
|
742
|
-
} & ({
|
|
743
|
-
paymasterAndData: "0x";
|
|
744
|
-
} | {
|
|
745
|
-
paymasterData: "0x";
|
|
746
|
-
paymasterVerificationGasLimit: number | bigint | `0x${string}` | {
|
|
747
|
-
multiplier: number;
|
|
748
|
-
};
|
|
749
|
-
paymasterPostOpGasLimit: number | bigint | `0x${string}` | {
|
|
750
|
-
multiplier: number;
|
|
751
|
-
};
|
|
752
|
-
})> | undefined, context?: import("@alchemy/aa-core").UserOperationContext | undefined) => Promise<`0x${string}`>;
|
|
753
|
-
sendTransactions: (args: import("@alchemy/aa-core").SendTransactionsParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<`0x${string}`>;
|
|
754
|
-
sendUserOperation: (args: import("@alchemy/aa-core").SendUserOperationParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<import("@alchemy/aa-core").SendUserOperationResult<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>>;
|
|
755
|
-
waitForUserOperationTransaction: (args: import("@alchemy/aa-core").WaitForUserOperationTxParameters) => Promise<`0x${string}`>;
|
|
756
|
-
upgradeAccount: (args: import("@alchemy/aa-core").UpgradeAccountParams<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<`0x${string}`>;
|
|
757
|
-
signMessage: (args: import("@alchemy/aa-core/dist/types/actions/smartAccount/signMessage").SignMessageParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>>) => Promise<`0x${string}`>;
|
|
758
|
-
signTypedData: () => const;
|
|
759
|
-
estimateUserOperationGas: <TEntryPointVersion extends keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown> = keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>(request: import("@alchemy/aa-core").UserOperationRequest<TEntryPointVersion>, entryPoint: `0x${string}`, stateOverride?: import("viem").StateOverride | undefined) => Promise<import("@alchemy/aa-core").UserOperationEstimateGasResponse<TEntryPointVersion>>;
|
|
760
|
-
sendRawUserOperation: <TEntryPointVersion_1 extends keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown> = keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>(request: import("@alchemy/aa-core").UserOperationRequest<TEntryPointVersion_1>, entryPoint: `0x${string}`) => Promise<`0x${string}`>;
|
|
761
|
-
getUserOperationByHash: (hash: `0x${string}`) => Promise<import("@alchemy/aa-core").UserOperationResponse<keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>> | null>;
|
|
762
|
-
getUserOperationReceipt: (hash: `0x${string}`) => Promise<import("@alchemy/aa-core").UserOperationReceipt | null>;
|
|
763
|
-
getSupportedEntryPoints: () => Promise<`0x${string}`[]>;
|
|
764
|
-
call: (parameters: import("viem").CallParameters<import("viem").Chain<import("viem").ChainFormatters | undefined, Record<string, unknown> | undefined> | undefined>) => Promise<import("viem").CallReturnType>;
|
|
765
|
-
createBlockFilter: () => Promise<{
|
|
766
|
-
id: `0x${string}`;
|
|
767
|
-
request: import("viem").EIP1193RequestFn<readonly [{
|
|
768
|
-
Method: "eth_getFilterChanges";
|
|
769
|
-
Parameters: [filterId: `0x${string}`];
|
|
770
|
-
ReturnType: `0x${string}`[] | import("viem").RpcLog[];
|
|
771
|
-
}, {
|
|
772
|
-
Method: "eth_getFilterLogs";
|
|
773
|
-
Parameters: [filterId: `0x${string}`];
|
|
774
|
-
ReturnType: import("viem").RpcLog[];
|
|
775
|
-
}, {
|
|
776
|
-
Method: "eth_uninstallFilter";
|
|
777
|
-
Parameters: [filterId: `0x${string}`];
|
|
778
|
-
ReturnType: boolean;
|
|
779
|
-
}]>;
|
|
780
|
-
type: "block";
|
|
781
|
-
}>;
|
|
782
|
-
createContractEventFilter: () => const;
|
|
783
|
-
simulateUserOperation: (args: import("@alchemy/aa-core").SendUserOperationParameters<import("@alchemy/aa-accounts").MultiOwnerModularAccount<AlchemySigner>, import("@alchemy/aa-core").UserOperationContext | undefined, keyof import("@alchemy/aa-core").EntryPointRegistryBase<unknown>>) => Promise<import("@alchemy/aa-alchemy").SimulateUserOperationAssetChangesResponse>;
|
|
784
|
-
extend: () => const;
|
|
785
|
-
};
|
|
786
12
|
getSigner(): JsonRpcSigner;
|
|
787
13
|
disconnect(): Promise<void>;
|
|
788
14
|
listAccounts(): Promise<`0x${string}`[]>;
|
|
@@ -795,30 +21,30 @@ export declare function createProvider(params: ConnectorParams): Promise<{
|
|
|
795
21
|
detectNetwork(): Promise<import("@ethersproject/providers").Network>;
|
|
796
22
|
_uncachedDetectNetwork(): Promise<import("@ethersproject/providers").Network>;
|
|
797
23
|
getUncheckedSigner(addressOrIndex?: string | number | undefined): {
|
|
798
|
-
sendTransaction(transaction: import("@ethersproject/properties").Deferrable<import("
|
|
24
|
+
sendTransaction(transaction: import("@ethersproject/properties").Deferrable<import("alchemy-sdk").TransactionRequest>): Promise<import("alchemy-sdk").TransactionResponse>;
|
|
799
25
|
readonly provider: import("@ethersproject/providers").JsonRpcProvider;
|
|
800
26
|
_index: number;
|
|
801
27
|
_address: string;
|
|
802
28
|
connect(provider: import("@ethersproject/abstract-provider").Provider): JsonRpcSigner;
|
|
803
29
|
connectUnchecked(): JsonRpcSigner;
|
|
804
30
|
getAddress(): Promise<string>;
|
|
805
|
-
sendUncheckedTransaction(transaction: import("@ethersproject/properties").Deferrable<import("
|
|
806
|
-
signTransaction(transaction: import("@ethersproject/properties").Deferrable<import("
|
|
31
|
+
sendUncheckedTransaction(transaction: import("@ethersproject/properties").Deferrable<import("alchemy-sdk").TransactionRequest>): Promise<string>;
|
|
32
|
+
signTransaction(transaction: import("@ethersproject/properties").Deferrable<import("alchemy-sdk").TransactionRequest>): Promise<string>;
|
|
807
33
|
signMessage(message: string | import("ethers").Bytes): Promise<string>;
|
|
808
34
|
_legacySignMessage(message: string | import("ethers").Bytes): Promise<string>;
|
|
809
35
|
_signTypedData(domain: import("ethers").TypedDataDomain, types: Record<string, import("ethers").TypedDataField[]>, value: Record<string, any>): Promise<string>;
|
|
810
36
|
unlock(password: string): Promise<boolean>;
|
|
811
37
|
readonly _isSigner: boolean;
|
|
812
|
-
getBalance(blockTag?: import("
|
|
813
|
-
getTransactionCount(blockTag?: import("
|
|
814
|
-
estimateGas(transaction: import("@ethersproject/properties").Deferrable<import("
|
|
815
|
-
call(transaction: import("@ethersproject/properties").Deferrable<import("
|
|
38
|
+
getBalance(blockTag?: import("alchemy-sdk").BlockTag | undefined): Promise<import("alchemy-sdk").BigNumber>;
|
|
39
|
+
getTransactionCount(blockTag?: import("alchemy-sdk").BlockTag | undefined): Promise<number>;
|
|
40
|
+
estimateGas(transaction: import("@ethersproject/properties").Deferrable<import("alchemy-sdk").TransactionRequest>): Promise<import("alchemy-sdk").BigNumber>;
|
|
41
|
+
call(transaction: import("@ethersproject/properties").Deferrable<import("alchemy-sdk").TransactionRequest>, blockTag?: import("alchemy-sdk").BlockTag | undefined): Promise<string>;
|
|
816
42
|
getChainId(): Promise<number>;
|
|
817
43
|
getGasPrice(): Promise<import("alchemy-sdk").BigNumber>;
|
|
818
|
-
getFeeData(): Promise<import("
|
|
44
|
+
getFeeData(): Promise<import("alchemy-sdk").FeeData>;
|
|
819
45
|
resolveName(name: string): Promise<string>;
|
|
820
|
-
checkTransaction(transaction: import("@ethersproject/properties").Deferrable<import("
|
|
821
|
-
populateTransaction(transaction: import("@ethersproject/properties").Deferrable<import("
|
|
46
|
+
checkTransaction(transaction: import("@ethersproject/properties").Deferrable<import("alchemy-sdk").TransactionRequest>): import("@ethersproject/properties").Deferrable<import("alchemy-sdk").TransactionRequest>;
|
|
47
|
+
populateTransaction(transaction: import("@ethersproject/properties").Deferrable<import("alchemy-sdk").TransactionRequest>): Promise<import("alchemy-sdk").TransactionRequest>;
|
|
822
48
|
_checkProvider(operation?: string | undefined): void;
|
|
823
49
|
};
|
|
824
50
|
send(method: string, params: any[]): Promise<any>;
|
|
@@ -863,7 +89,7 @@ export declare function createProvider(params: ConnectorParams): Promise<{
|
|
|
863
89
|
pollingInterval: number;
|
|
864
90
|
_getFastBlockNumber(): Promise<number>;
|
|
865
91
|
_setFastBlockNumber(blockNumber: number): void;
|
|
866
|
-
waitForTransaction(transactionHash: string, confirmations?: number | undefined, timeout?: number | undefined): Promise<import("
|
|
92
|
+
waitForTransaction(transactionHash: string, confirmations?: number | undefined, timeout?: number | undefined): Promise<import("alchemy-sdk").TransactionReceipt>;
|
|
867
93
|
_waitForTransaction(transactionHash: string, confirmations: number, timeout: number, replaceable: {
|
|
868
94
|
data: string;
|
|
869
95
|
from: string;
|
|
@@ -871,44 +97,44 @@ export declare function createProvider(params: ConnectorParams): Promise<{
|
|
|
871
97
|
to: string;
|
|
872
98
|
value: import("alchemy-sdk").BigNumber;
|
|
873
99
|
startBlock: number;
|
|
874
|
-
}): Promise<import("
|
|
100
|
+
}): Promise<import("alchemy-sdk").TransactionReceipt>;
|
|
875
101
|
getBlockNumber(): Promise<number>;
|
|
876
102
|
getGasPrice(): Promise<import("alchemy-sdk").BigNumber>;
|
|
877
|
-
getBalance(addressOrName: string | Promise<string>, blockTag?: import("
|
|
878
|
-
getTransactionCount(addressOrName: string | Promise<string>, blockTag?: import("
|
|
879
|
-
getCode(addressOrName: string | Promise<string>, blockTag?: import("
|
|
880
|
-
getStorageAt(addressOrName: string | Promise<string>, position: import("alchemy-sdk").BigNumberish | Promise<import("alchemy-sdk").BigNumberish>, blockTag?: import("
|
|
881
|
-
_wrapTransaction(tx: import("ethers").Transaction, hash?: string | undefined, startBlock?: number | undefined): import("
|
|
882
|
-
sendTransaction(signedTransaction: string | Promise<string>): Promise<import("
|
|
883
|
-
_getTransactionRequest(transaction: import("@ethersproject/properties").Deferrable<import("
|
|
103
|
+
getBalance(addressOrName: string | Promise<string>, blockTag?: import("alchemy-sdk").BlockTag | Promise<import("alchemy-sdk").BlockTag> | undefined): Promise<import("alchemy-sdk").BigNumber>;
|
|
104
|
+
getTransactionCount(addressOrName: string | Promise<string>, blockTag?: import("alchemy-sdk").BlockTag | Promise<import("alchemy-sdk").BlockTag> | undefined): Promise<number>;
|
|
105
|
+
getCode(addressOrName: string | Promise<string>, blockTag?: import("alchemy-sdk").BlockTag | Promise<import("alchemy-sdk").BlockTag> | undefined): Promise<string>;
|
|
106
|
+
getStorageAt(addressOrName: string | Promise<string>, position: import("alchemy-sdk").BigNumberish | Promise<import("alchemy-sdk").BigNumberish>, blockTag?: import("alchemy-sdk").BlockTag | Promise<import("alchemy-sdk").BlockTag> | undefined): Promise<string>;
|
|
107
|
+
_wrapTransaction(tx: import("ethers").Transaction, hash?: string | undefined, startBlock?: number | undefined): import("alchemy-sdk").TransactionResponse;
|
|
108
|
+
sendTransaction(signedTransaction: string | Promise<string>): Promise<import("alchemy-sdk").TransactionResponse>;
|
|
109
|
+
_getTransactionRequest(transaction: import("@ethersproject/properties").Deferrable<import("alchemy-sdk").TransactionRequest>): Promise<import("ethers").Transaction>;
|
|
884
110
|
_getFilter(filter: import("@ethersproject/abstract-provider").Filter | import("@ethersproject/abstract-provider").FilterByBlockHash | Promise<import("@ethersproject/abstract-provider").Filter | import("@ethersproject/abstract-provider").FilterByBlockHash>): Promise<import("@ethersproject/abstract-provider").Filter | import("@ethersproject/abstract-provider").FilterByBlockHash>;
|
|
885
|
-
_call(transaction: import("
|
|
886
|
-
call(transaction: import("@ethersproject/properties").Deferrable<import("
|
|
887
|
-
estimateGas(transaction: import("@ethersproject/properties").Deferrable<import("
|
|
111
|
+
_call(transaction: import("alchemy-sdk").TransactionRequest, blockTag: import("alchemy-sdk").BlockTag, attempt: number): Promise<string>;
|
|
112
|
+
call(transaction: import("@ethersproject/properties").Deferrable<import("alchemy-sdk").TransactionRequest>, blockTag?: import("alchemy-sdk").BlockTag | Promise<import("alchemy-sdk").BlockTag> | undefined): Promise<string>;
|
|
113
|
+
estimateGas(transaction: import("@ethersproject/properties").Deferrable<import("alchemy-sdk").TransactionRequest>): Promise<import("alchemy-sdk").BigNumber>;
|
|
888
114
|
_getAddress(addressOrName: string | Promise<string>): Promise<string>;
|
|
889
|
-
_getBlock(blockHashOrBlockTag: import("
|
|
890
|
-
getBlock(blockHashOrBlockTag: import("
|
|
891
|
-
getBlockWithTransactions(blockHashOrBlockTag: import("
|
|
892
|
-
getTransaction(transactionHash: string | Promise<string>): Promise<import("
|
|
893
|
-
getTransactionReceipt(transactionHash: string | Promise<string>): Promise<import("
|
|
894
|
-
getLogs(filter: import("@ethersproject/abstract-provider").Filter | import("@ethersproject/abstract-provider").FilterByBlockHash | Promise<import("@ethersproject/abstract-provider").Filter | import("@ethersproject/abstract-provider").FilterByBlockHash>): Promise<import("
|
|
115
|
+
_getBlock(blockHashOrBlockTag: import("alchemy-sdk").BlockTag | Promise<import("alchemy-sdk").BlockTag>, includeTransactions?: boolean | undefined): Promise<import("alchemy-sdk").Block | import("alchemy-sdk").BlockWithTransactions>;
|
|
116
|
+
getBlock(blockHashOrBlockTag: import("alchemy-sdk").BlockTag | Promise<import("alchemy-sdk").BlockTag>): Promise<import("alchemy-sdk").Block>;
|
|
117
|
+
getBlockWithTransactions(blockHashOrBlockTag: import("alchemy-sdk").BlockTag | Promise<import("alchemy-sdk").BlockTag>): Promise<import("alchemy-sdk").BlockWithTransactions>;
|
|
118
|
+
getTransaction(transactionHash: string | Promise<string>): Promise<import("alchemy-sdk").TransactionResponse>;
|
|
119
|
+
getTransactionReceipt(transactionHash: string | Promise<string>): Promise<import("alchemy-sdk").TransactionReceipt>;
|
|
120
|
+
getLogs(filter: import("@ethersproject/abstract-provider").Filter | import("@ethersproject/abstract-provider").FilterByBlockHash | Promise<import("@ethersproject/abstract-provider").Filter | import("@ethersproject/abstract-provider").FilterByBlockHash>): Promise<import("alchemy-sdk").Log[]>;
|
|
895
121
|
getEtherPrice(): Promise<number>;
|
|
896
|
-
_getBlockTag(blockTag: import("
|
|
122
|
+
_getBlockTag(blockTag: import("alchemy-sdk").BlockTag | Promise<import("alchemy-sdk").BlockTag>): Promise<import("alchemy-sdk").BlockTag>;
|
|
897
123
|
getResolver(name: string): Promise<import("@ethersproject/providers").Resolver | null>;
|
|
898
124
|
_getResolver(name: string, operation?: string | undefined): Promise<string>;
|
|
899
125
|
resolveName(name: string | Promise<string>): Promise<string | null>;
|
|
900
126
|
lookupAddress(address: string | Promise<string>): Promise<string | null>;
|
|
901
127
|
getAvatar(nameOrAddress: string): Promise<string | null>;
|
|
902
|
-
_addEventListener(eventName: import("
|
|
903
|
-
on(eventName: import("
|
|
904
|
-
once(eventName: import("
|
|
905
|
-
emit(eventName: import("
|
|
906
|
-
listenerCount(eventName?: import("
|
|
907
|
-
listeners(eventName?: import("
|
|
908
|
-
off(eventName: import("
|
|
909
|
-
removeAllListeners(eventName?: import("
|
|
910
|
-
getFeeData(): Promise<import("
|
|
911
|
-
addListener(eventName: import("
|
|
912
|
-
removeListener(eventName: import("
|
|
128
|
+
_addEventListener(eventName: import("alchemy-sdk").EventType, listener: import("@ethersproject/abstract-provider").Listener, once: boolean): any;
|
|
129
|
+
on(eventName: import("alchemy-sdk").EventType, listener: import("@ethersproject/abstract-provider").Listener): any;
|
|
130
|
+
once(eventName: import("alchemy-sdk").EventType, listener: import("@ethersproject/abstract-provider").Listener): any;
|
|
131
|
+
emit(eventName: import("alchemy-sdk").EventType, ...args: any[]): boolean;
|
|
132
|
+
listenerCount(eventName?: import("alchemy-sdk").EventType | undefined): number;
|
|
133
|
+
listeners(eventName?: import("alchemy-sdk").EventType | undefined): import("@ethersproject/abstract-provider").Listener[];
|
|
134
|
+
off(eventName: import("alchemy-sdk").EventType, listener?: import("@ethersproject/abstract-provider").Listener | undefined): any;
|
|
135
|
+
removeAllListeners(eventName?: import("alchemy-sdk").EventType | undefined): any;
|
|
136
|
+
getFeeData(): Promise<import("alchemy-sdk").FeeData>;
|
|
137
|
+
addListener(eventName: import("alchemy-sdk").EventType, listener: import("@ethersproject/abstract-provider").Listener): import("@ethersproject/abstract-provider").Provider;
|
|
138
|
+
removeListener(eventName: import("alchemy-sdk").EventType, listener: import("@ethersproject/abstract-provider").Listener): import("@ethersproject/abstract-provider").Provider;
|
|
913
139
|
readonly _isProvider: boolean;
|
|
914
140
|
}>;
|