accounts 0.4.18 → 0.4.19
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/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/dist/core/Adapter.d.ts +6 -0
- package/dist/core/Adapter.d.ts.map +1 -1
- package/dist/core/Adapter.js.map +1 -1
- package/dist/core/Dialog.d.ts.map +1 -1
- package/dist/core/Dialog.js +1 -0
- package/dist/core/Dialog.js.map +1 -1
- package/dist/core/Provider.d.ts.map +1 -1
- package/dist/core/Provider.js +7 -0
- package/dist/core/Provider.js.map +1 -1
- package/dist/core/Remote.d.ts.map +1 -1
- package/dist/core/Remote.js +1 -1
- package/dist/core/Remote.js.map +1 -1
- package/dist/core/Schema.d.ts +377 -359
- package/dist/core/Schema.d.ts.map +1 -1
- package/dist/core/Schema.js +7 -6
- package/dist/core/Schema.js.map +1 -1
- package/dist/core/adapters/dialog.d.ts.map +1 -1
- package/dist/core/adapters/dialog.js +3 -0
- package/dist/core/adapters/dialog.js.map +1 -1
- package/dist/core/zod/rpc.d.ts +14 -0
- package/dist/core/zod/rpc.d.ts.map +1 -1
- package/dist/core/zod/rpc.js +15 -0
- package/dist/core/zod/rpc.js.map +1 -1
- package/package.json +1 -1
- package/src/core/Adapter.ts +12 -0
- package/src/core/Dialog.ts +1 -0
- package/src/core/Provider.ts +11 -0
- package/src/core/Remote.ts +2 -1
- package/src/core/Schema.ts +7 -6
- package/src/core/adapters/dialog.ts +4 -0
- package/src/core/zod/rpc.ts +19 -0
package/dist/core/Schema.d.ts
CHANGED
|
@@ -69,50 +69,6 @@ export declare const schema: readonly [{
|
|
|
69
69
|
readonly method: z.ZodMiniLiteral<"eth_chainId">;
|
|
70
70
|
readonly params: undefined;
|
|
71
71
|
readonly returns: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
72
|
-
}, {
|
|
73
|
-
readonly method: z.ZodMiniLiteral<"eth_requestAccounts">;
|
|
74
|
-
readonly params: undefined;
|
|
75
|
-
readonly returns: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
76
|
-
}, {
|
|
77
|
-
readonly method: z.ZodMiniLiteral<"eth_sendTransaction">;
|
|
78
|
-
readonly params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
|
|
79
|
-
accessList: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
80
|
-
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
81
|
-
storageKeys: z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
82
|
-
}, z.core.$strip>>>;
|
|
83
|
-
calls: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
84
|
-
data: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
85
|
-
to: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
86
|
-
value: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
|
|
87
|
-
}, z.core.$strip>>>>;
|
|
88
|
-
chainId: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>;
|
|
89
|
-
data: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
90
|
-
feePayer: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniString<string>]>>;
|
|
91
|
-
feeToken: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
92
|
-
from: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
93
|
-
gas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
|
|
94
|
-
keyAuthorization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
95
|
-
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
96
|
-
chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
97
|
-
expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>>;
|
|
98
|
-
keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
99
|
-
keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
100
|
-
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
101
|
-
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
102
|
-
limit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
103
|
-
}, z.core.$strip>>>>;
|
|
104
|
-
signature: z.ZodMiniCustom<import("ox/tempo/SignatureEnvelope").SignatureEnvelopeRpc, import("ox/tempo/SignatureEnvelope").SignatureEnvelopeRpc>;
|
|
105
|
-
}, z.core.$strip>>;
|
|
106
|
-
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
|
|
107
|
-
maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
|
|
108
|
-
nonce: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>;
|
|
109
|
-
nonceKey: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
|
|
110
|
-
to: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
111
|
-
validAfter: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>;
|
|
112
|
-
validBefore: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>;
|
|
113
|
-
value: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
|
|
114
|
-
}, z.core.$strip>], null>>;
|
|
115
|
-
readonly returns: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
116
72
|
}, {
|
|
117
73
|
readonly method: z.ZodMiniLiteral<"eth_fillTransaction">;
|
|
118
74
|
readonly params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
|
|
@@ -154,7 +110,11 @@ export declare const schema: readonly [{
|
|
|
154
110
|
}, z.core.$strip>], null>>;
|
|
155
111
|
readonly returns: z.ZodMiniAny;
|
|
156
112
|
}, {
|
|
157
|
-
readonly method: z.ZodMiniLiteral<"
|
|
113
|
+
readonly method: z.ZodMiniLiteral<"eth_requestAccounts">;
|
|
114
|
+
readonly params: undefined;
|
|
115
|
+
readonly returns: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
116
|
+
}, {
|
|
117
|
+
readonly method: z.ZodMiniLiteral<"eth_sendTransaction">;
|
|
158
118
|
readonly params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
|
|
159
119
|
accessList: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
160
120
|
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -266,6 +226,46 @@ export declare const schema: readonly [{
|
|
|
266
226
|
transactionIndex: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
|
|
267
227
|
type: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
268
228
|
}, z.core.$strip>;
|
|
229
|
+
}, {
|
|
230
|
+
readonly method: z.ZodMiniLiteral<"eth_signTransaction">;
|
|
231
|
+
readonly params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
|
|
232
|
+
accessList: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
233
|
+
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
234
|
+
storageKeys: z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
235
|
+
}, z.core.$strip>>>;
|
|
236
|
+
calls: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
237
|
+
data: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
238
|
+
to: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
239
|
+
value: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
|
|
240
|
+
}, z.core.$strip>>>>;
|
|
241
|
+
chainId: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>;
|
|
242
|
+
data: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
243
|
+
feePayer: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniString<string>]>>;
|
|
244
|
+
feeToken: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
245
|
+
from: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
246
|
+
gas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
|
|
247
|
+
keyAuthorization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
248
|
+
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
249
|
+
chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
250
|
+
expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>>;
|
|
251
|
+
keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
252
|
+
keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
253
|
+
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
254
|
+
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
255
|
+
limit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
256
|
+
}, z.core.$strip>>>>;
|
|
257
|
+
signature: z.ZodMiniCustom<import("ox/tempo/SignatureEnvelope").SignatureEnvelopeRpc, import("ox/tempo/SignatureEnvelope").SignatureEnvelopeRpc>;
|
|
258
|
+
}, z.core.$strip>>;
|
|
259
|
+
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
|
|
260
|
+
maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
|
|
261
|
+
nonce: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>;
|
|
262
|
+
nonceKey: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
|
|
263
|
+
to: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
264
|
+
validAfter: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>;
|
|
265
|
+
validBefore: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>;
|
|
266
|
+
value: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
|
|
267
|
+
}, z.core.$strip>], null>>;
|
|
268
|
+
readonly returns: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
269
269
|
}, {
|
|
270
270
|
readonly method: z.ZodMiniLiteral<"eth_signTypedData_v4">;
|
|
271
271
|
readonly params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>], null>>;
|
|
@@ -275,65 +275,102 @@ export declare const schema: readonly [{
|
|
|
275
275
|
readonly params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTemplateLiteral<`0x${string}`>], null>>;
|
|
276
276
|
readonly returns: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
277
277
|
}, {
|
|
278
|
-
readonly method: z.ZodMiniLiteral<"
|
|
278
|
+
readonly method: z.ZodMiniLiteral<"wallet_authorizeAccessKey">;
|
|
279
|
+
readonly params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
|
|
280
|
+
address: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
281
|
+
expiry: z.ZodMiniNumber<number>;
|
|
282
|
+
keyType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>>;
|
|
283
|
+
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
284
|
+
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
285
|
+
limit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
286
|
+
}, z.core.$strip>>>>;
|
|
287
|
+
publicKey: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
288
|
+
}, z.core.$strip>], null>>;
|
|
289
|
+
readonly returns: z.ZodMiniObject<{
|
|
290
|
+
keyAuthorization: z.ZodMiniObject<{
|
|
291
|
+
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
292
|
+
chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
293
|
+
expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>>;
|
|
294
|
+
keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
295
|
+
keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
296
|
+
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
297
|
+
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
298
|
+
limit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
299
|
+
}, z.core.$strip>>>>;
|
|
300
|
+
signature: z.ZodMiniCustom<import("ox/tempo/SignatureEnvelope").SignatureEnvelopeRpc, import("ox/tempo/SignatureEnvelope").SignatureEnvelopeRpc>;
|
|
301
|
+
}, z.core.$strip>;
|
|
302
|
+
rootAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
303
|
+
}, z.core.$strip>;
|
|
304
|
+
}, {
|
|
305
|
+
readonly method: z.ZodMiniLiteral<"wallet_connect">;
|
|
279
306
|
readonly params: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
307
|
+
capabilities: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
308
|
+
digest: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
309
|
+
authorizeAccessKey: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
310
|
+
address: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
311
|
+
expiry: z.ZodMiniNumber<number>;
|
|
312
|
+
keyType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>>;
|
|
313
|
+
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
314
|
+
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
315
|
+
limit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
316
|
+
}, z.core.$strip>>>>;
|
|
317
|
+
publicKey: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
318
|
+
}, z.core.$strip>>;
|
|
319
|
+
method: z.ZodMiniLiteral<"register">;
|
|
320
|
+
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
321
|
+
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
322
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
323
|
+
digest: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
324
|
+
credentialId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
325
|
+
authorizeAccessKey: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
326
|
+
address: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
327
|
+
expiry: z.ZodMiniNumber<number>;
|
|
328
|
+
keyType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>>;
|
|
329
|
+
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
330
|
+
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
331
|
+
limit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
332
|
+
}, z.core.$strip>>>>;
|
|
333
|
+
publicKey: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
334
|
+
}, z.core.$strip>>;
|
|
335
|
+
method: z.ZodMiniOptional<z.ZodMiniLiteral<"login">>;
|
|
336
|
+
selectAccount: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
337
|
+
}, z.core.$strip>]>>;
|
|
289
338
|
chainId: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>;
|
|
290
|
-
from: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
291
339
|
version: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
292
340
|
}, z.core.$strip>], null>>>;
|
|
293
341
|
readonly returns: z.ZodMiniObject<{
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
gasUsed: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
312
|
-
logs: z.ZodMiniArray<z.ZodMiniObject<{
|
|
313
|
-
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
314
|
-
blockHash: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
315
|
-
blockNumber: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
316
|
-
data: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
317
|
-
logIndex: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
|
|
318
|
-
removed: z.ZodMiniBoolean<boolean>;
|
|
319
|
-
topics: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
320
|
-
transactionHash: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
321
|
-
transactionIndex: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
|
|
322
|
-
}, z.core.$strip>>;
|
|
323
|
-
logsBloom: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
324
|
-
root: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
325
|
-
status: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniEnum<{
|
|
326
|
-
success: "success";
|
|
327
|
-
reverted: "reverted";
|
|
328
|
-
}>>;
|
|
329
|
-
to: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
330
|
-
transactionHash: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
331
|
-
transactionIndex: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
|
|
332
|
-
type: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
342
|
+
accounts: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
343
|
+
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
344
|
+
capabilities: z.ZodMiniObject<{
|
|
345
|
+
keyAuthorization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
346
|
+
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
347
|
+
chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
348
|
+
expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>>;
|
|
349
|
+
keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
350
|
+
keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
351
|
+
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
352
|
+
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
353
|
+
limit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
354
|
+
}, z.core.$strip>>>>;
|
|
355
|
+
signature: z.ZodMiniCustom<import("ox/tempo/SignatureEnvelope").SignatureEnvelopeRpc, import("ox/tempo/SignatureEnvelope").SignatureEnvelopeRpc>;
|
|
356
|
+
}, z.core.$strip>>;
|
|
357
|
+
signature: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
358
|
+
}, z.core.$strip>;
|
|
333
359
|
}, z.core.$strip>>>;
|
|
334
|
-
status: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
335
|
-
version: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
336
360
|
}, z.core.$strip>;
|
|
361
|
+
}, {
|
|
362
|
+
readonly method: z.ZodMiniLiteral<"wallet_deposit">;
|
|
363
|
+
readonly params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
|
|
364
|
+
address: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
365
|
+
chainId: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>;
|
|
366
|
+
token: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
367
|
+
value: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
368
|
+
}, z.core.$strip>], null>>;
|
|
369
|
+
readonly returns: z.ZodMiniVoid;
|
|
370
|
+
}, {
|
|
371
|
+
readonly method: z.ZodMiniLiteral<"wallet_disconnect">;
|
|
372
|
+
readonly params: undefined;
|
|
373
|
+
readonly returns: undefined;
|
|
337
374
|
}, {
|
|
338
375
|
readonly method: z.ZodMiniLiteral<"wallet_getBalances">;
|
|
339
376
|
readonly params: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
|
|
@@ -405,100 +442,72 @@ export declare const schema: readonly [{
|
|
|
405
442
|
}, z.core.$strip>;
|
|
406
443
|
}, z.core.$strip>>;
|
|
407
444
|
}, {
|
|
408
|
-
readonly method: z.ZodMiniLiteral<"
|
|
445
|
+
readonly method: z.ZodMiniLiteral<"wallet_revokeAccessKey">;
|
|
446
|
+
readonly params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
|
|
447
|
+
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
448
|
+
accessKeyAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
449
|
+
}, z.core.$strip>], null>>;
|
|
450
|
+
readonly returns: undefined;
|
|
451
|
+
}, {
|
|
452
|
+
readonly method: z.ZodMiniLiteral<"wallet_sendCalls">;
|
|
409
453
|
readonly params: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
}, z.core.$strip>>>>;
|
|
420
|
-
publicKey: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
421
|
-
}, z.core.$strip>>;
|
|
422
|
-
method: z.ZodMiniLiteral<"register">;
|
|
423
|
-
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
424
|
-
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
425
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
426
|
-
digest: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
427
|
-
credentialId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
428
|
-
authorizeAccessKey: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
429
|
-
address: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
430
|
-
expiry: z.ZodMiniNumber<number>;
|
|
431
|
-
keyType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>>;
|
|
432
|
-
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
433
|
-
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
434
|
-
limit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
435
|
-
}, z.core.$strip>>>>;
|
|
436
|
-
publicKey: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
437
|
-
}, z.core.$strip>>;
|
|
438
|
-
method: z.ZodMiniOptional<z.ZodMiniLiteral<"login">>;
|
|
439
|
-
selectAccount: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
440
|
-
}, z.core.$strip>]>>;
|
|
454
|
+
atomicRequired: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
455
|
+
calls: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
456
|
+
data: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
457
|
+
to: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
458
|
+
value: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
|
|
459
|
+
}, z.core.$strip>>>;
|
|
460
|
+
capabilities: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
461
|
+
sync: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
462
|
+
}, z.core.$strip>>;
|
|
441
463
|
chainId: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>;
|
|
464
|
+
from: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
442
465
|
version: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
443
466
|
}, z.core.$strip>], null>>>;
|
|
444
467
|
readonly returns: z.ZodMiniObject<{
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
468
|
+
atomic: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
469
|
+
capabilities: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
470
|
+
sync: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
471
|
+
}, z.core.$strip>>;
|
|
472
|
+
chainId: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>;
|
|
473
|
+
id: z.ZodMiniString<string>;
|
|
474
|
+
receipts: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
475
|
+
blobGasPrice: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
|
|
476
|
+
blobGasUsed: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
|
|
477
|
+
blockHash: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
478
|
+
blockNumber: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
479
|
+
contractAddress: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
480
|
+
cumulativeGasUsed: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
481
|
+
effectiveGasPrice: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
482
|
+
feePayer: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
483
|
+
feeToken: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
484
|
+
from: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
485
|
+
gasUsed: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
486
|
+
logs: z.ZodMiniArray<z.ZodMiniObject<{
|
|
487
|
+
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
488
|
+
blockHash: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
489
|
+
blockNumber: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
490
|
+
data: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
491
|
+
logIndex: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
|
|
492
|
+
removed: z.ZodMiniBoolean<boolean>;
|
|
493
|
+
topics: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
494
|
+
transactionHash: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
495
|
+
transactionIndex: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
|
|
496
|
+
}, z.core.$strip>>;
|
|
497
|
+
logsBloom: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
498
|
+
root: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
499
|
+
status: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniEnum<{
|
|
500
|
+
success: "success";
|
|
501
|
+
reverted: "reverted";
|
|
502
|
+
}>>;
|
|
503
|
+
to: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
504
|
+
transactionHash: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
505
|
+
transactionIndex: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
|
|
506
|
+
type: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
462
507
|
}, z.core.$strip>>>;
|
|
508
|
+
status: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
509
|
+
version: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
463
510
|
}, z.core.$strip>;
|
|
464
|
-
}, {
|
|
465
|
-
readonly method: z.ZodMiniLiteral<"wallet_disconnect">;
|
|
466
|
-
readonly params: undefined;
|
|
467
|
-
readonly returns: undefined;
|
|
468
|
-
}, {
|
|
469
|
-
readonly method: z.ZodMiniLiteral<"wallet_authorizeAccessKey">;
|
|
470
|
-
readonly params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
|
|
471
|
-
address: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
472
|
-
expiry: z.ZodMiniNumber<number>;
|
|
473
|
-
keyType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>>;
|
|
474
|
-
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
475
|
-
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
476
|
-
limit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
477
|
-
}, z.core.$strip>>>>;
|
|
478
|
-
publicKey: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
479
|
-
}, z.core.$strip>], null>>;
|
|
480
|
-
readonly returns: z.ZodMiniObject<{
|
|
481
|
-
keyAuthorization: z.ZodMiniObject<{
|
|
482
|
-
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
483
|
-
chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
484
|
-
expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>>;
|
|
485
|
-
keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
486
|
-
keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
487
|
-
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
488
|
-
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
489
|
-
limit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
490
|
-
}, z.core.$strip>>>>;
|
|
491
|
-
signature: z.ZodMiniCustom<import("ox/tempo/SignatureEnvelope").SignatureEnvelopeRpc, import("ox/tempo/SignatureEnvelope").SignatureEnvelopeRpc>;
|
|
492
|
-
}, z.core.$strip>;
|
|
493
|
-
rootAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
494
|
-
}, z.core.$strip>;
|
|
495
|
-
}, {
|
|
496
|
-
readonly method: z.ZodMiniLiteral<"wallet_revokeAccessKey">;
|
|
497
|
-
readonly params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
|
|
498
|
-
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
499
|
-
accessKeyAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
500
|
-
}, z.core.$strip>], null>>;
|
|
501
|
-
readonly returns: undefined;
|
|
502
511
|
}, {
|
|
503
512
|
readonly method: z.ZodMiniLiteral<"wallet_switchEthereumChain">;
|
|
504
513
|
readonly params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
|
|
@@ -520,11 +529,7 @@ export declare const viem: readonly [{
|
|
|
520
529
|
Parameters: undefined;
|
|
521
530
|
ReturnType: `0x${string}`;
|
|
522
531
|
}, {
|
|
523
|
-
Method: "
|
|
524
|
-
Parameters: undefined;
|
|
525
|
-
ReturnType: readonly `0x${string}`[];
|
|
526
|
-
}, {
|
|
527
|
-
Method: "eth_sendTransaction";
|
|
532
|
+
Method: "eth_fillTransaction";
|
|
528
533
|
Parameters: readonly [{
|
|
529
534
|
accessList?: {
|
|
530
535
|
address: `0x${string}`;
|
|
@@ -562,9 +567,13 @@ export declare const viem: readonly [{
|
|
|
562
567
|
validBefore?: `0x${string}` | undefined;
|
|
563
568
|
value?: `0x${string}` | undefined;
|
|
564
569
|
}];
|
|
565
|
-
ReturnType:
|
|
570
|
+
ReturnType: any;
|
|
566
571
|
}, {
|
|
567
|
-
Method: "
|
|
572
|
+
Method: "eth_requestAccounts";
|
|
573
|
+
Parameters: undefined;
|
|
574
|
+
ReturnType: readonly `0x${string}`[];
|
|
575
|
+
}, {
|
|
576
|
+
Method: "eth_sendTransaction";
|
|
568
577
|
Parameters: readonly [{
|
|
569
578
|
accessList?: {
|
|
570
579
|
address: `0x${string}`;
|
|
@@ -602,9 +611,9 @@ export declare const viem: readonly [{
|
|
|
602
611
|
validBefore?: `0x${string}` | undefined;
|
|
603
612
|
value?: `0x${string}` | undefined;
|
|
604
613
|
}];
|
|
605
|
-
ReturnType:
|
|
614
|
+
ReturnType: `0x${string}`;
|
|
606
615
|
}, {
|
|
607
|
-
Method: "
|
|
616
|
+
Method: "eth_sendTransactionSync";
|
|
608
617
|
Parameters: readonly [{
|
|
609
618
|
accessList?: {
|
|
610
619
|
address: `0x${string}`;
|
|
@@ -642,9 +651,39 @@ export declare const viem: readonly [{
|
|
|
642
651
|
validBefore?: `0x${string}` | undefined;
|
|
643
652
|
value?: `0x${string}` | undefined;
|
|
644
653
|
}];
|
|
645
|
-
ReturnType:
|
|
654
|
+
ReturnType: {
|
|
655
|
+
blockHash: `0x${string}`;
|
|
656
|
+
blockNumber: `0x${string}`;
|
|
657
|
+
contractAddress: `0x${string}` | null;
|
|
658
|
+
cumulativeGasUsed: `0x${string}`;
|
|
659
|
+
effectiveGasPrice: `0x${string}`;
|
|
660
|
+
from: `0x${string}`;
|
|
661
|
+
gasUsed: `0x${string}`;
|
|
662
|
+
logs: {
|
|
663
|
+
address: `0x${string}`;
|
|
664
|
+
blockHash: `0x${string}`;
|
|
665
|
+
blockNumber: `0x${string}`;
|
|
666
|
+
data: `0x${string}`;
|
|
667
|
+
logIndex: `0x${string}`;
|
|
668
|
+
removed: boolean;
|
|
669
|
+
topics: readonly `0x${string}`[];
|
|
670
|
+
transactionHash: `0x${string}`;
|
|
671
|
+
transactionIndex: `0x${string}`;
|
|
672
|
+
}[];
|
|
673
|
+
logsBloom: `0x${string}`;
|
|
674
|
+
status: `0x${string}`;
|
|
675
|
+
to: `0x${string}` | null;
|
|
676
|
+
transactionHash: `0x${string}`;
|
|
677
|
+
transactionIndex: `0x${string}`;
|
|
678
|
+
type: `0x${string}`;
|
|
679
|
+
blobGasPrice?: `0x${string}` | undefined;
|
|
680
|
+
blobGasUsed?: `0x${string}` | undefined;
|
|
681
|
+
feePayer?: `0x${string}` | undefined;
|
|
682
|
+
feeToken?: `0x${string}` | undefined;
|
|
683
|
+
root?: `0x${string}` | undefined;
|
|
684
|
+
};
|
|
646
685
|
}, {
|
|
647
|
-
Method: "
|
|
686
|
+
Method: "eth_signTransaction";
|
|
648
687
|
Parameters: readonly [{
|
|
649
688
|
accessList?: {
|
|
650
689
|
address: `0x${string}`;
|
|
@@ -682,37 +721,7 @@ export declare const viem: readonly [{
|
|
|
682
721
|
validBefore?: `0x${string}` | undefined;
|
|
683
722
|
value?: `0x${string}` | undefined;
|
|
684
723
|
}];
|
|
685
|
-
ReturnType: {
|
|
686
|
-
blockHash: `0x${string}`;
|
|
687
|
-
blockNumber: `0x${string}`;
|
|
688
|
-
contractAddress: `0x${string}` | null;
|
|
689
|
-
cumulativeGasUsed: `0x${string}`;
|
|
690
|
-
effectiveGasPrice: `0x${string}`;
|
|
691
|
-
from: `0x${string}`;
|
|
692
|
-
gasUsed: `0x${string}`;
|
|
693
|
-
logs: {
|
|
694
|
-
address: `0x${string}`;
|
|
695
|
-
blockHash: `0x${string}`;
|
|
696
|
-
blockNumber: `0x${string}`;
|
|
697
|
-
data: `0x${string}`;
|
|
698
|
-
logIndex: `0x${string}`;
|
|
699
|
-
removed: boolean;
|
|
700
|
-
topics: readonly `0x${string}`[];
|
|
701
|
-
transactionHash: `0x${string}`;
|
|
702
|
-
transactionIndex: `0x${string}`;
|
|
703
|
-
}[];
|
|
704
|
-
logsBloom: `0x${string}`;
|
|
705
|
-
status: `0x${string}`;
|
|
706
|
-
to: `0x${string}` | null;
|
|
707
|
-
transactionHash: `0x${string}`;
|
|
708
|
-
transactionIndex: `0x${string}`;
|
|
709
|
-
type: `0x${string}`;
|
|
710
|
-
blobGasPrice?: `0x${string}` | undefined;
|
|
711
|
-
blobGasUsed?: `0x${string}` | undefined;
|
|
712
|
-
feePayer?: `0x${string}` | undefined;
|
|
713
|
-
feeToken?: `0x${string}` | undefined;
|
|
714
|
-
root?: `0x${string}` | undefined;
|
|
715
|
-
};
|
|
724
|
+
ReturnType: `0x${string}`;
|
|
716
725
|
}, {
|
|
717
726
|
Method: "eth_signTypedData_v4";
|
|
718
727
|
Parameters: readonly [`0x${string}`, string];
|
|
@@ -722,62 +731,102 @@ export declare const viem: readonly [{
|
|
|
722
731
|
Parameters: readonly [`0x${string}`, `0x${string}`];
|
|
723
732
|
ReturnType: `0x${string}`;
|
|
724
733
|
}, {
|
|
725
|
-
Method: "
|
|
734
|
+
Method: "wallet_authorizeAccessKey";
|
|
735
|
+
Parameters: readonly [{
|
|
736
|
+
expiry: number;
|
|
737
|
+
address?: `0x${string}` | undefined;
|
|
738
|
+
keyType?: "secp256k1" | "p256" | "webAuthn" | undefined;
|
|
739
|
+
limits?: readonly {
|
|
740
|
+
token: `0x${string}`;
|
|
741
|
+
limit: `0x${string}`;
|
|
742
|
+
}[] | undefined;
|
|
743
|
+
publicKey?: `0x${string}` | undefined;
|
|
744
|
+
}];
|
|
745
|
+
ReturnType: {
|
|
746
|
+
keyAuthorization: {
|
|
747
|
+
address: `0x${string}`;
|
|
748
|
+
chainId: `0x${string}`;
|
|
749
|
+
keyId: `0x${string}`;
|
|
750
|
+
keyType: "secp256k1" | "p256" | "webAuthn";
|
|
751
|
+
signature: import("ox/tempo/SignatureEnvelope").SignatureEnvelopeRpc;
|
|
752
|
+
expiry?: `0x${string}` | null | undefined;
|
|
753
|
+
limits?: readonly {
|
|
754
|
+
token: `0x${string}`;
|
|
755
|
+
limit: `0x${string}`;
|
|
756
|
+
}[] | undefined;
|
|
757
|
+
};
|
|
758
|
+
rootAddress: `0x${string}`;
|
|
759
|
+
};
|
|
760
|
+
}, {
|
|
761
|
+
Method: "wallet_connect";
|
|
726
762
|
Parameters: readonly [{
|
|
727
|
-
calls: readonly {
|
|
728
|
-
data?: `0x${string}` | undefined;
|
|
729
|
-
to?: `0x${string}` | undefined;
|
|
730
|
-
value?: `0x${string}` | undefined;
|
|
731
|
-
}[];
|
|
732
|
-
atomicRequired?: boolean | undefined;
|
|
733
763
|
capabilities?: {
|
|
734
|
-
|
|
764
|
+
method: "register";
|
|
765
|
+
digest?: `0x${string}` | undefined;
|
|
766
|
+
authorizeAccessKey?: {
|
|
767
|
+
expiry: number;
|
|
768
|
+
address?: `0x${string}` | undefined;
|
|
769
|
+
keyType?: "secp256k1" | "p256" | "webAuthn" | undefined;
|
|
770
|
+
limits?: readonly {
|
|
771
|
+
token: `0x${string}`;
|
|
772
|
+
limit: `0x${string}`;
|
|
773
|
+
}[] | undefined;
|
|
774
|
+
publicKey?: `0x${string}` | undefined;
|
|
775
|
+
} | undefined;
|
|
776
|
+
name?: string | undefined;
|
|
777
|
+
userId?: string | undefined;
|
|
778
|
+
} | {
|
|
779
|
+
digest?: `0x${string}` | undefined;
|
|
780
|
+
credentialId?: string | undefined;
|
|
781
|
+
authorizeAccessKey?: {
|
|
782
|
+
expiry: number;
|
|
783
|
+
address?: `0x${string}` | undefined;
|
|
784
|
+
keyType?: "secp256k1" | "p256" | "webAuthn" | undefined;
|
|
785
|
+
limits?: readonly {
|
|
786
|
+
token: `0x${string}`;
|
|
787
|
+
limit: `0x${string}`;
|
|
788
|
+
}[] | undefined;
|
|
789
|
+
publicKey?: `0x${string}` | undefined;
|
|
790
|
+
} | undefined;
|
|
791
|
+
method?: "login" | undefined;
|
|
792
|
+
selectAccount?: boolean | undefined;
|
|
735
793
|
} | undefined;
|
|
736
794
|
chainId?: `0x${string}` | undefined;
|
|
737
|
-
from?: `0x${string}` | undefined;
|
|
738
795
|
version?: string | undefined;
|
|
739
796
|
}] | undefined;
|
|
740
797
|
ReturnType: {
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
data: `0x${string}`;
|
|
760
|
-
logIndex: `0x${string}`;
|
|
761
|
-
removed: boolean;
|
|
762
|
-
topics: readonly `0x${string}`[];
|
|
763
|
-
transactionHash: `0x${string}`;
|
|
764
|
-
transactionIndex: `0x${string}`;
|
|
765
|
-
}[];
|
|
766
|
-
logsBloom: `0x${string}`;
|
|
767
|
-
status: `0x${string}`;
|
|
768
|
-
to: `0x${string}` | null;
|
|
769
|
-
transactionHash: `0x${string}`;
|
|
770
|
-
transactionIndex: `0x${string}`;
|
|
771
|
-
type: `0x${string}`;
|
|
772
|
-
blobGasPrice?: `0x${string}` | undefined;
|
|
773
|
-
blobGasUsed?: `0x${string}` | undefined;
|
|
774
|
-
feePayer?: `0x${string}` | undefined;
|
|
775
|
-
feeToken?: `0x${string}` | undefined;
|
|
776
|
-
root?: `0x${string}` | undefined;
|
|
777
|
-
}[] | undefined;
|
|
778
|
-
status?: number | undefined;
|
|
779
|
-
version?: string | undefined;
|
|
798
|
+
accounts: readonly {
|
|
799
|
+
address: `0x${string}`;
|
|
800
|
+
capabilities: {
|
|
801
|
+
keyAuthorization?: {
|
|
802
|
+
address: `0x${string}`;
|
|
803
|
+
chainId: `0x${string}`;
|
|
804
|
+
keyId: `0x${string}`;
|
|
805
|
+
keyType: "secp256k1" | "p256" | "webAuthn";
|
|
806
|
+
signature: import("ox/tempo/SignatureEnvelope").SignatureEnvelopeRpc;
|
|
807
|
+
expiry?: `0x${string}` | null | undefined;
|
|
808
|
+
limits?: readonly {
|
|
809
|
+
token: `0x${string}`;
|
|
810
|
+
limit: `0x${string}`;
|
|
811
|
+
}[] | undefined;
|
|
812
|
+
} | undefined;
|
|
813
|
+
signature?: `0x${string}` | undefined;
|
|
814
|
+
};
|
|
815
|
+
}[];
|
|
780
816
|
};
|
|
817
|
+
}, {
|
|
818
|
+
Method: "wallet_deposit";
|
|
819
|
+
Parameters: readonly [{
|
|
820
|
+
address?: `0x${string}` | undefined;
|
|
821
|
+
chainId?: `0x${string}` | undefined;
|
|
822
|
+
token?: `0x${string}` | undefined;
|
|
823
|
+
value?: string | undefined;
|
|
824
|
+
}];
|
|
825
|
+
ReturnType: void;
|
|
826
|
+
}, {
|
|
827
|
+
Method: "wallet_disconnect";
|
|
828
|
+
Parameters: undefined;
|
|
829
|
+
ReturnType: undefined;
|
|
781
830
|
}, {
|
|
782
831
|
Method: "wallet_getBalances";
|
|
783
832
|
Parameters: readonly [{
|
|
@@ -846,100 +895,69 @@ export declare const viem: readonly [{
|
|
|
846
895
|
} | undefined;
|
|
847
896
|
}>;
|
|
848
897
|
}, {
|
|
849
|
-
Method: "
|
|
898
|
+
Method: "wallet_revokeAccessKey";
|
|
850
899
|
Parameters: readonly [{
|
|
900
|
+
address: `0x${string}`;
|
|
901
|
+
accessKeyAddress: `0x${string}`;
|
|
902
|
+
}];
|
|
903
|
+
ReturnType: undefined;
|
|
904
|
+
}, {
|
|
905
|
+
Method: "wallet_sendCalls";
|
|
906
|
+
Parameters: readonly [{
|
|
907
|
+
calls: readonly {
|
|
908
|
+
data?: `0x${string}` | undefined;
|
|
909
|
+
to?: `0x${string}` | undefined;
|
|
910
|
+
value?: `0x${string}` | undefined;
|
|
911
|
+
}[];
|
|
912
|
+
atomicRequired?: boolean | undefined;
|
|
851
913
|
capabilities?: {
|
|
852
|
-
|
|
853
|
-
digest?: `0x${string}` | undefined;
|
|
854
|
-
authorizeAccessKey?: {
|
|
855
|
-
expiry: number;
|
|
856
|
-
address?: `0x${string}` | undefined;
|
|
857
|
-
keyType?: "secp256k1" | "p256" | "webAuthn" | undefined;
|
|
858
|
-
limits?: readonly {
|
|
859
|
-
token: `0x${string}`;
|
|
860
|
-
limit: `0x${string}`;
|
|
861
|
-
}[] | undefined;
|
|
862
|
-
publicKey?: `0x${string}` | undefined;
|
|
863
|
-
} | undefined;
|
|
864
|
-
name?: string | undefined;
|
|
865
|
-
userId?: string | undefined;
|
|
866
|
-
} | {
|
|
867
|
-
digest?: `0x${string}` | undefined;
|
|
868
|
-
credentialId?: string | undefined;
|
|
869
|
-
authorizeAccessKey?: {
|
|
870
|
-
expiry: number;
|
|
871
|
-
address?: `0x${string}` | undefined;
|
|
872
|
-
keyType?: "secp256k1" | "p256" | "webAuthn" | undefined;
|
|
873
|
-
limits?: readonly {
|
|
874
|
-
token: `0x${string}`;
|
|
875
|
-
limit: `0x${string}`;
|
|
876
|
-
}[] | undefined;
|
|
877
|
-
publicKey?: `0x${string}` | undefined;
|
|
878
|
-
} | undefined;
|
|
879
|
-
method?: "login" | undefined;
|
|
880
|
-
selectAccount?: boolean | undefined;
|
|
914
|
+
sync?: boolean | undefined;
|
|
881
915
|
} | undefined;
|
|
882
916
|
chainId?: `0x${string}` | undefined;
|
|
917
|
+
from?: `0x${string}` | undefined;
|
|
883
918
|
version?: string | undefined;
|
|
884
919
|
}] | undefined;
|
|
885
920
|
ReturnType: {
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
921
|
+
id: string;
|
|
922
|
+
atomic?: boolean | undefined;
|
|
923
|
+
capabilities?: {
|
|
924
|
+
sync?: boolean | undefined;
|
|
925
|
+
} | undefined;
|
|
926
|
+
chainId?: `0x${string}` | undefined;
|
|
927
|
+
receipts?: {
|
|
928
|
+
blockHash: `0x${string}`;
|
|
929
|
+
blockNumber: `0x${string}`;
|
|
930
|
+
contractAddress: `0x${string}` | null;
|
|
931
|
+
cumulativeGasUsed: `0x${string}`;
|
|
932
|
+
effectiveGasPrice: `0x${string}`;
|
|
933
|
+
from: `0x${string}`;
|
|
934
|
+
gasUsed: `0x${string}`;
|
|
935
|
+
logs: {
|
|
936
|
+
address: `0x${string}`;
|
|
937
|
+
blockHash: `0x${string}`;
|
|
938
|
+
blockNumber: `0x${string}`;
|
|
939
|
+
data: `0x${string}`;
|
|
940
|
+
logIndex: `0x${string}`;
|
|
941
|
+
removed: boolean;
|
|
942
|
+
topics: readonly `0x${string}`[];
|
|
943
|
+
transactionHash: `0x${string}`;
|
|
944
|
+
transactionIndex: `0x${string}`;
|
|
945
|
+
}[];
|
|
946
|
+
logsBloom: `0x${string}`;
|
|
947
|
+
status: `0x${string}`;
|
|
948
|
+
to: `0x${string}` | null;
|
|
949
|
+
transactionHash: `0x${string}`;
|
|
950
|
+
transactionIndex: `0x${string}`;
|
|
951
|
+
type: `0x${string}`;
|
|
952
|
+
blobGasPrice?: `0x${string}` | undefined;
|
|
953
|
+
blobGasUsed?: `0x${string}` | undefined;
|
|
954
|
+
feePayer?: `0x${string}` | undefined;
|
|
955
|
+
feeToken?: `0x${string}` | undefined;
|
|
956
|
+
root?: `0x${string}` | undefined;
|
|
918
957
|
}[] | undefined;
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
ReturnType: {
|
|
922
|
-
keyAuthorization: {
|
|
923
|
-
address: `0x${string}`;
|
|
924
|
-
chainId: `0x${string}`;
|
|
925
|
-
keyId: `0x${string}`;
|
|
926
|
-
keyType: "secp256k1" | "p256" | "webAuthn";
|
|
927
|
-
signature: import("ox/tempo/SignatureEnvelope").SignatureEnvelopeRpc;
|
|
928
|
-
expiry?: `0x${string}` | null | undefined;
|
|
929
|
-
limits?: readonly {
|
|
930
|
-
token: `0x${string}`;
|
|
931
|
-
limit: `0x${string}`;
|
|
932
|
-
}[] | undefined;
|
|
933
|
-
};
|
|
934
|
-
rootAddress: `0x${string}`;
|
|
958
|
+
status?: number | undefined;
|
|
959
|
+
version?: string | undefined;
|
|
935
960
|
};
|
|
936
|
-
}, {
|
|
937
|
-
Method: "wallet_revokeAccessKey";
|
|
938
|
-
Parameters: readonly [{
|
|
939
|
-
address: `0x${string}`;
|
|
940
|
-
accessKeyAddress: `0x${string}`;
|
|
941
|
-
}];
|
|
942
|
-
ReturnType: undefined;
|
|
943
961
|
}, {
|
|
944
962
|
Method: "wallet_switchEthereumChain";
|
|
945
963
|
Parameters: readonly [{
|