@walletmesh/aztec-rpc-wallet 0.1.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +4 -4
  3. package/dist/.tsbuildinfo +1 -1
  4. package/dist/aztecRemoteWallet.d.ts +4 -8
  5. package/dist/aztecRemoteWallet.d.ts.map +1 -1
  6. package/dist/aztecRemoteWallet.js +5 -30
  7. package/dist/chainProvider.d.ts.map +1 -1
  8. package/dist/chainProvider.js +1 -1
  9. package/dist/contractArtifactCache.d.ts.map +1 -1
  10. package/dist/contractArtifactCache.js +20 -9
  11. package/dist/errors.d.ts.map +1 -1
  12. package/dist/errors.js +1 -1
  13. package/dist/handlers/aztecAccountWallet.d.ts.map +1 -1
  14. package/dist/handlers/aztecAccountWallet.js +12 -45
  15. package/dist/handlers/transactions.d.ts.map +1 -1
  16. package/dist/handlers/transactions.js +11 -3
  17. package/dist/serializers/account.d.ts +24 -24
  18. package/dist/serializers/account.d.ts.map +1 -1
  19. package/dist/serializers/account.js +51 -51
  20. package/dist/serializers/contract.d.ts +22 -76
  21. package/dist/serializers/contract.d.ts.map +1 -1
  22. package/dist/serializers/contract.js +68 -120
  23. package/dist/serializers/index.d.ts +0 -4
  24. package/dist/serializers/index.d.ts.map +1 -1
  25. package/dist/serializers/index.js +15 -20
  26. package/dist/serializers/log.d.ts +16 -16
  27. package/dist/serializers/log.d.ts.map +1 -1
  28. package/dist/serializers/log.js +66 -64
  29. package/dist/serializers/note.d.ts +18 -18
  30. package/dist/serializers/note.d.ts.map +1 -1
  31. package/dist/serializers/note.js +54 -51
  32. package/dist/serializers/transaction.d.ts +25 -26
  33. package/dist/serializers/transaction.d.ts.map +1 -1
  34. package/dist/serializers/transaction.js +92 -44
  35. package/dist/types.d.ts +8 -31
  36. package/dist/types.d.ts.map +1 -1
  37. package/dist/types.js +1 -1
  38. package/docs/README.md +264 -0
  39. package/docs/classes/AztecChainProvider.md +553 -0
  40. package/docs/classes/AztecChainWallet.md +409 -0
  41. package/docs/classes/AztecProvider.md +1112 -0
  42. package/docs/classes/AztecWalletError.md +213 -0
  43. package/docs/classes/ContractArtifactCache.md +81 -0
  44. package/docs/globals.md +34 -0
  45. package/docs/interfaces/AztecWalletBaseMethodMap.md +135 -0
  46. package/docs/interfaces/AztecWalletEventMap.md +17 -0
  47. package/docs/interfaces/AztecWalletMethodMap.md +1012 -0
  48. package/docs/type-aliases/AztecChainId.md +11 -0
  49. package/docs/type-aliases/AztecChainWalletMiddleware.md +13 -0
  50. package/docs/type-aliases/AztecWalletContext.md +29 -0
  51. package/docs/type-aliases/AztecWalletMethodHandler.md +37 -0
  52. package/docs/type-aliases/AztecWalletMiddleware.md +13 -0
  53. package/docs/type-aliases/AztecWalletRouterClient.md +13 -0
  54. package/docs/type-aliases/TransactionFunctionCall.md +33 -0
  55. package/docs/type-aliases/TransactionParams.md +27 -0
  56. package/docs/variables/AztecWalletErrorMap.md +13 -0
  57. package/package.json +11 -11
  58. package/src/aztecRemoteWallet.test.ts +23 -65
  59. package/src/aztecRemoteWallet.ts +8 -36
  60. package/src/chainProvider.test.ts +117 -38
  61. package/src/chainProvider.ts +1 -7
  62. package/src/contractArtifactCache.test.ts +28 -45
  63. package/src/contractArtifactCache.ts +20 -10
  64. package/src/errors.ts +0 -1
  65. package/src/handlers/aztecAccountWallet.test.ts +12 -86
  66. package/src/handlers/aztecAccountWallet.ts +20 -78
  67. package/src/handlers/transactions.ts +16 -2
  68. package/src/provider.test.ts +0 -2
  69. package/src/serializers/account.test.ts +19 -20
  70. package/src/serializers/account.ts +65 -65
  71. package/src/serializers/contract.test.ts +4 -140
  72. package/src/serializers/contract.ts +98 -176
  73. package/src/serializers/index.test.ts +30 -28
  74. package/src/serializers/index.ts +15 -33
  75. package/src/serializers/log.test.ts +42 -48
  76. package/src/serializers/log.ts +85 -83
  77. package/src/serializers/note.test.ts +43 -16
  78. package/src/serializers/note.ts +62 -63
  79. package/src/serializers/transaction.test.ts +48 -41
  80. package/src/serializers/transaction.ts +154 -66
  81. package/src/types.ts +8 -8
  82. package/src/wallet.test.ts +3 -3
  83. package/tsconfig.json +1 -1
  84. package/dist/serializers/transaction-utils.d.ts +0 -51
  85. package/dist/serializers/transaction-utils.d.ts.map +0 -1
  86. package/dist/serializers/transaction-utils.js +0 -94
  87. package/src/serializers/transaction-utils.ts +0 -161
@@ -0,0 +1,1012 @@
1
+ [**@walletmesh/aztec-rpc-wallet v0.3.0**](../README.md)
2
+
3
+ ***
4
+
5
+ [@walletmesh/aztec-rpc-wallet](../globals.md) / AztecWalletMethodMap
6
+
7
+ # Interface: AztecWalletMethodMap
8
+
9
+ Defined in: [aztec/rpc-wallet/src/types.ts:161](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L161)
10
+
11
+ Type for Aztec wallet RPC method map.
12
+ This extends the AztecWalletBaseMethodMap with the methods used in by Aztec's `AccountWallet`
13
+
14
+ ## Extends
15
+
16
+ - [`AztecWalletBaseMethodMap`](AztecWalletBaseMethodMap.md)
17
+
18
+ ## Indexable
19
+
20
+ \[`method`: `string`\]: `object`
21
+
22
+ ## Properties
23
+
24
+ ### aztec\_addAuthWitness
25
+
26
+ > **aztec\_addAuthWitness**: `object`
27
+
28
+ Defined in: [aztec/rpc-wallet/src/types.ts:196](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L196)
29
+
30
+ #### params
31
+
32
+ > **params**: `object`
33
+
34
+ ##### params.authWitness
35
+
36
+ > **authWitness**: `AuthWitness`
37
+
38
+ #### result
39
+
40
+ > **result**: `boolean`
41
+
42
+ ***
43
+
44
+ ### aztec\_addCapsule
45
+
46
+ > **aztec\_addCapsule**: `object`
47
+
48
+ Defined in: [aztec/rpc-wallet/src/types.ts:184](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L184)
49
+
50
+ #### params
51
+
52
+ > **params**: `object`
53
+
54
+ ##### params.capsule
55
+
56
+ > **capsule**: `Fr`[]
57
+
58
+ #### result
59
+
60
+ > **result**: `boolean`
61
+
62
+ ***
63
+
64
+ ### aztec\_addNote
65
+
66
+ > **aztec\_addNote**: `object`
67
+
68
+ Defined in: [aztec/rpc-wallet/src/types.ts:270](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L270)
69
+
70
+ #### params
71
+
72
+ > **params**: `object`
73
+
74
+ ##### params.note
75
+
76
+ > **note**: `ExtendedNote`
77
+
78
+ #### result
79
+
80
+ > **result**: `boolean`
81
+
82
+ ***
83
+
84
+ ### aztec\_addNullifiedNote
85
+
86
+ > **aztec\_addNullifiedNote**: `object`
87
+
88
+ Defined in: [aztec/rpc-wallet/src/types.ts:271](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L271)
89
+
90
+ #### params
91
+
92
+ > **params**: `object`
93
+
94
+ ##### params.note
95
+
96
+ > **note**: `ExtendedNote`
97
+
98
+ #### result
99
+
100
+ > **result**: `boolean`
101
+
102
+ ***
103
+
104
+ ### aztec\_connect
105
+
106
+ > **aztec\_connect**: `object`
107
+
108
+ Defined in: [aztec/rpc-wallet/src/types.ts:88](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L88)
109
+
110
+ Connects to the Aztec network.
111
+
112
+ #### result
113
+
114
+ > **result**: `boolean`
115
+
116
+ #### Returns
117
+
118
+ A boolean indicating if the connection was successful
119
+
120
+ #### Inherited from
121
+
122
+ [`AztecWalletBaseMethodMap`](AztecWalletBaseMethodMap.md).[`aztec_connect`](AztecWalletBaseMethodMap.md#aztec_connect)
123
+
124
+ ***
125
+
126
+ ### aztec\_createAuthWit
127
+
128
+ > **aztec\_createAuthWit**: `object`
129
+
130
+ Defined in: [aztec/rpc-wallet/src/types.ts:198](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L198)
131
+
132
+ #### params
133
+
134
+ > **params**: `object`
135
+
136
+ ##### params.intent
137
+
138
+ > **intent**: `Fr` \| `Buffer` \| `IntentAction` \| `IntentInnerHash`
139
+
140
+ #### result
141
+
142
+ > **result**: `AuthWitness`
143
+
144
+ ***
145
+
146
+ ### aztec\_createTxExecutionRequest
147
+
148
+ > **aztec\_createTxExecutionRequest**: `object`
149
+
150
+ Defined in: [aztec/rpc-wallet/src/types.ts:244](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L244)
151
+
152
+ #### params
153
+
154
+ > **params**: `object`
155
+
156
+ ##### params.exec
157
+
158
+ > **exec**: `ExecutionRequestInit`
159
+
160
+ #### result
161
+
162
+ > **result**: `TxExecutionRequest`
163
+
164
+ ***
165
+
166
+ ### aztec\_getAccount
167
+
168
+ > **aztec\_getAccount**: `object`
169
+
170
+ Defined in: [aztec/rpc-wallet/src/types.ts:94](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L94)
171
+
172
+ Gets the account address from the wallet.
173
+
174
+ #### result
175
+
176
+ > **result**: `string`
177
+
178
+ #### Returns
179
+
180
+ The account address as a string
181
+
182
+ #### Inherited from
183
+
184
+ [`AztecWalletBaseMethodMap`](AztecWalletBaseMethodMap.md).[`aztec_getAccount`](AztecWalletBaseMethodMap.md#aztec_getaccount)
185
+
186
+ ***
187
+
188
+ ### aztec\_getAddress
189
+
190
+ > **aztec\_getAddress**: `object`
191
+
192
+ Defined in: [aztec/rpc-wallet/src/types.ts:187](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L187)
193
+
194
+ #### result
195
+
196
+ > **result**: `AztecAddress`
197
+
198
+ ***
199
+
200
+ ### aztec\_getAuthWitness
201
+
202
+ > **aztec\_getAuthWitness**: `object`
203
+
204
+ Defined in: [aztec/rpc-wallet/src/types.ts:197](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L197)
205
+
206
+ #### params
207
+
208
+ > **params**: `object`
209
+
210
+ ##### params.messageHash
211
+
212
+ > **messageHash**: `Fr`
213
+
214
+ #### result
215
+
216
+ > **result**: `Fr`[]
217
+
218
+ ***
219
+
220
+ ### aztec\_getBlock
221
+
222
+ > **aztec\_getBlock**: `object`
223
+
224
+ Defined in: [aztec/rpc-wallet/src/types.ts:163](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L163)
225
+
226
+ #### params
227
+
228
+ > **params**: `object`
229
+
230
+ ##### params.number
231
+
232
+ > **number**: `number`
233
+
234
+ #### result
235
+
236
+ > **result**: `L2Block`
237
+
238
+ ***
239
+
240
+ ### aztec\_getBlockNumber
241
+
242
+ > **aztec\_getBlockNumber**: `object`
243
+
244
+ Defined in: [aztec/rpc-wallet/src/types.ts:164](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L164)
245
+
246
+ #### result
247
+
248
+ > **result**: `number`
249
+
250
+ ***
251
+
252
+ ### aztec\_getChainId
253
+
254
+ > **aztec\_getChainId**: `object`
255
+
256
+ Defined in: [aztec/rpc-wallet/src/types.ts:165](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L165)
257
+
258
+ #### result
259
+
260
+ > **result**: `number`
261
+
262
+ ***
263
+
264
+ ### aztec\_getCompleteAddress
265
+
266
+ > **aztec\_getCompleteAddress**: `object`
267
+
268
+ Defined in: [aztec/rpc-wallet/src/types.ts:188](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L188)
269
+
270
+ #### result
271
+
272
+ > **result**: `CompleteAddress`
273
+
274
+ ***
275
+
276
+ ### aztec\_getContractClassLogs
277
+
278
+ > **aztec\_getContractClassLogs**: `object`
279
+
280
+ Defined in: [aztec/rpc-wallet/src/types.ts:275](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L275)
281
+
282
+ #### params
283
+
284
+ > **params**: `object`
285
+
286
+ ##### params.filter
287
+
288
+ > **filter**: `LogFilter`
289
+
290
+ #### result
291
+
292
+ > **result**: `GetContractClassLogsResponse`
293
+
294
+ ***
295
+
296
+ ### aztec\_getContractClassMetadata
297
+
298
+ > **aztec\_getContractClassMetadata**: `object`
299
+
300
+ Defined in: [aztec/rpc-wallet/src/types.ts:218](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L218)
301
+
302
+ #### params
303
+
304
+ > **params**: `object`
305
+
306
+ ##### params.id
307
+
308
+ > **id**: `Fr`
309
+
310
+ ##### params.includeArtifact?
311
+
312
+ > `optional` **includeArtifact**: `boolean`
313
+
314
+ #### result
315
+
316
+ > **result**: `ContractClassMetadata`
317
+
318
+ ***
319
+
320
+ ### aztec\_getContractMetadata
321
+
322
+ > **aztec\_getContractMetadata**: `object`
323
+
324
+ Defined in: [aztec/rpc-wallet/src/types.ts:217](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L217)
325
+
326
+ #### params
327
+
328
+ > **params**: `object`
329
+
330
+ ##### params.address
331
+
332
+ > **address**: `AztecAddress`
333
+
334
+ #### result
335
+
336
+ > **result**: `ContractMetadata`
337
+
338
+ ***
339
+
340
+ ### aztec\_getContracts
341
+
342
+ > **aztec\_getContracts**: `object`
343
+
344
+ Defined in: [aztec/rpc-wallet/src/types.ts:216](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L216)
345
+
346
+ #### result
347
+
348
+ > **result**: `AztecAddress`[]
349
+
350
+ ***
351
+
352
+ ### aztec\_getCurrentBaseFees
353
+
354
+ > **aztec\_getCurrentBaseFees**: `object`
355
+
356
+ Defined in: [aztec/rpc-wallet/src/types.ts:170](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L170)
357
+
358
+ #### result
359
+
360
+ > **result**: `GasFees`
361
+
362
+ ***
363
+
364
+ ### aztec\_getL1ToL2MembershipWitness
365
+
366
+ > **aztec\_getL1ToL2MembershipWitness**: `object`
367
+
368
+ Defined in: [aztec/rpc-wallet/src/types.ts:178](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L178)
369
+
370
+ #### params
371
+
372
+ > **params**: `object`
373
+
374
+ ##### params.contractAddress
375
+
376
+ > **contractAddress**: `AztecAddress`
377
+
378
+ ##### params.messageHash
379
+
380
+ > **messageHash**: `Fr`
381
+
382
+ ##### params.secret
383
+
384
+ > **secret**: `Fr`
385
+
386
+ #### result
387
+
388
+ > **result**: \[`bigint`, `SiblingPath`\<`39`\>\]
389
+
390
+ ***
391
+
392
+ ### aztec\_getNodeInfo
393
+
394
+ > **aztec\_getNodeInfo**: `object`
395
+
396
+ Defined in: [aztec/rpc-wallet/src/types.ts:167](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L167)
397
+
398
+ #### result
399
+
400
+ > **result**: `NodeInfo`
401
+
402
+ ***
403
+
404
+ ### aztec\_getNotes
405
+
406
+ > **aztec\_getNotes**: `object`
407
+
408
+ Defined in: [aztec/rpc-wallet/src/types.ts:269](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L269)
409
+
410
+ #### params
411
+
412
+ > **params**: `object`
413
+
414
+ ##### params.filter
415
+
416
+ > **filter**: `NotesFilter`
417
+
418
+ #### result
419
+
420
+ > **result**: `UniqueNote`[]
421
+
422
+ ***
423
+
424
+ ### aztec\_getPrivateEvents
425
+
426
+ > **aztec\_getPrivateEvents**: `object`
427
+
428
+ Defined in: [aztec/rpc-wallet/src/types.ts:276](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L276)
429
+
430
+ #### params
431
+
432
+ > **params**: `object`
433
+
434
+ ##### params.event
435
+
436
+ > **event**: `EventMetadataDefinition`
437
+
438
+ ##### params.from
439
+
440
+ > **from**: `number`
441
+
442
+ ##### params.limit
443
+
444
+ > **limit**: `number`
445
+
446
+ ##### params.vpks?
447
+
448
+ > `optional` **vpks**: `Point`[]
449
+
450
+ #### result
451
+
452
+ > **result**: `unknown`[]
453
+
454
+ ***
455
+
456
+ ### aztec\_getProvenBlockNumber
457
+
458
+ > **aztec\_getProvenBlockNumber**: `object`
459
+
460
+ Defined in: [aztec/rpc-wallet/src/types.ts:168](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L168)
461
+
462
+ #### result
463
+
464
+ > **result**: `number`
465
+
466
+ ***
467
+
468
+ ### aztec\_getPublicEvents
469
+
470
+ > **aztec\_getPublicEvents**: `object`
471
+
472
+ Defined in: [aztec/rpc-wallet/src/types.ts:280](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L280)
473
+
474
+ #### params
475
+
476
+ > **params**: `object`
477
+
478
+ ##### params.event
479
+
480
+ > **event**: `EventMetadataDefinition`
481
+
482
+ ##### params.from
483
+
484
+ > **from**: `number`
485
+
486
+ ##### params.limit
487
+
488
+ > **limit**: `number`
489
+
490
+ #### result
491
+
492
+ > **result**: `unknown`[]
493
+
494
+ ***
495
+
496
+ ### aztec\_getPublicLogs
497
+
498
+ > **aztec\_getPublicLogs**: `object`
499
+
500
+ Defined in: [aztec/rpc-wallet/src/types.ts:274](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L274)
501
+
502
+ #### params
503
+
504
+ > **params**: `object`
505
+
506
+ ##### params.filter
507
+
508
+ > **filter**: `LogFilter`
509
+
510
+ #### result
511
+
512
+ > **result**: `GetPublicLogsResponse`
513
+
514
+ ***
515
+
516
+ ### aztec\_getPublicStorageAt
517
+
518
+ > **aztec\_getPublicStorageAt**: `object`
519
+
520
+ Defined in: [aztec/rpc-wallet/src/types.ts:240](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L240)
521
+
522
+ #### params
523
+
524
+ > **params**: `object`
525
+
526
+ ##### params.contract
527
+
528
+ > **contract**: `AztecAddress`
529
+
530
+ ##### params.storageSlot
531
+
532
+ > **storageSlot**: `Fr`
533
+
534
+ #### result
535
+
536
+ > **result**: `any`
537
+
538
+ ***
539
+
540
+ ### aztec\_getPXEInfo
541
+
542
+ > **aztec\_getPXEInfo**: `object`
543
+
544
+ Defined in: [aztec/rpc-wallet/src/types.ts:169](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L169)
545
+
546
+ #### result
547
+
548
+ > **result**: `PXEInfo`
549
+
550
+ ***
551
+
552
+ ### aztec\_getRegisteredAccounts
553
+
554
+ > **aztec\_getRegisteredAccounts**: `object`
555
+
556
+ Defined in: [aztec/rpc-wallet/src/types.ts:193](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L193)
557
+
558
+ #### result
559
+
560
+ > **result**: `CompleteAddress`[]
561
+
562
+ ***
563
+
564
+ ### aztec\_getScopes
565
+
566
+ > **aztec\_getScopes**: `object`
567
+
568
+ Defined in: [aztec/rpc-wallet/src/types.ts:174](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L174)
569
+
570
+ #### result
571
+
572
+ > **result**: `AztecAddress`[]
573
+
574
+ ***
575
+
576
+ ### aztec\_getSenders
577
+
578
+ > **aztec\_getSenders**: `object`
579
+
580
+ Defined in: [aztec/rpc-wallet/src/types.ts:211](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L211)
581
+
582
+ #### result
583
+
584
+ > **result**: `AztecAddress`[]
585
+
586
+ ***
587
+
588
+ ### aztec\_getTxEffect
589
+
590
+ > **aztec\_getTxEffect**: `object`
591
+
592
+ Defined in: [aztec/rpc-wallet/src/types.ts:249](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L249)
593
+
594
+ #### params
595
+
596
+ > **params**: `object`
597
+
598
+ ##### params.txHash
599
+
600
+ > **txHash**: `TxHash`
601
+
602
+ #### result
603
+
604
+ > **result**: `InBlock`\<`TxEffect`\>
605
+
606
+ ***
607
+
608
+ ### aztec\_getTxReceipt
609
+
610
+ > **aztec\_getTxReceipt**: `object`
611
+
612
+ Defined in: [aztec/rpc-wallet/src/types.ts:250](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L250)
613
+
614
+ #### params
615
+
616
+ > **params**: `object`
617
+
618
+ ##### params.txHash
619
+
620
+ > **txHash**: `TxHash`
621
+
622
+ #### result
623
+
624
+ > **result**: `TxReceipt`
625
+
626
+ ***
627
+
628
+ ### aztec\_getVersion
629
+
630
+ > **aztec\_getVersion**: `object`
631
+
632
+ Defined in: [aztec/rpc-wallet/src/types.ts:166](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L166)
633
+
634
+ #### result
635
+
636
+ > **result**: `number`
637
+
638
+ ***
639
+
640
+ ### aztec\_isL1ToL2MessageSynced
641
+
642
+ > **aztec\_isL1ToL2MessageSynced**: `object`
643
+
644
+ Defined in: [aztec/rpc-wallet/src/types.ts:177](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L177)
645
+
646
+ #### params
647
+
648
+ > **params**: `object`
649
+
650
+ ##### params.l1ToL2Message
651
+
652
+ > **l1ToL2Message**: `Fr`
653
+
654
+ #### result
655
+
656
+ > **result**: `boolean`
657
+
658
+ ***
659
+
660
+ ### aztec\_proveTx
661
+
662
+ > **aztec\_proveTx**: `object`
663
+
664
+ Defined in: [aztec/rpc-wallet/src/types.ts:245](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L245)
665
+
666
+ #### params
667
+
668
+ > **params**: `object`
669
+
670
+ ##### params.privateExecutionResult
671
+
672
+ > **privateExecutionResult**: `PrivateExecutionResult`
673
+
674
+ ##### params.txRequest
675
+
676
+ > **txRequest**: `TxExecutionRequest`
677
+
678
+ #### result
679
+
680
+ > **result**: `TxProvingResult`
681
+
682
+ ***
683
+
684
+ ### aztec\_registerAccount
685
+
686
+ > **aztec\_registerAccount**: `object`
687
+
688
+ Defined in: [aztec/rpc-wallet/src/types.ts:189](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L189)
689
+
690
+ #### params
691
+
692
+ > **params**: `object`
693
+
694
+ ##### params.partialAddress
695
+
696
+ > **partialAddress**: `Fr`
697
+
698
+ ##### params.secretKey
699
+
700
+ > **secretKey**: `Fr`
701
+
702
+ #### result
703
+
704
+ > **result**: `CompleteAddress`
705
+
706
+ ***
707
+
708
+ ### aztec\_registerContract
709
+
710
+ > **aztec\_registerContract**: `object`
711
+
712
+ Defined in: [aztec/rpc-wallet/src/types.ts:228](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L228)
713
+
714
+ Registers a contract instance in the user's PXE.
715
+
716
+ #### params
717
+
718
+ > **params**: `object`
719
+
720
+ ##### params.artifact?
721
+
722
+ > `optional` **artifact**: `ContractArtifact`
723
+
724
+ ##### params.instance
725
+
726
+ > **instance**: `ContractInstanceWithAddress`
727
+
728
+ #### result
729
+
730
+ > **result**: `boolean`
731
+
732
+ #### Param
733
+
734
+ The contract details to register
735
+
736
+ #### Returns
737
+
738
+ True if registration was successful
739
+
740
+ ***
741
+
742
+ ### aztec\_registerContractClass
743
+
744
+ > **aztec\_registerContractClass**: `object`
745
+
746
+ Defined in: [aztec/rpc-wallet/src/types.ts:238](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L238)
747
+
748
+ Registers a contract class in the user's PXE.
749
+
750
+ #### params
751
+
752
+ > **params**: `object`
753
+
754
+ ##### params.artifact
755
+
756
+ > **artifact**: `ContractArtifact`
757
+
758
+ #### result
759
+
760
+ > **result**: `boolean`
761
+
762
+ #### Param
763
+
764
+ The contract artifact to register
765
+
766
+ #### Returns
767
+
768
+ True if registration was successful
769
+
770
+ ***
771
+
772
+ ### aztec\_registerSender
773
+
774
+ > **aztec\_registerSender**: `object`
775
+
776
+ Defined in: [aztec/rpc-wallet/src/types.ts:210](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L210)
777
+
778
+ Registers a contact in the user's PXE
779
+
780
+ #### params
781
+
782
+ > **params**: `object`
783
+
784
+ ##### params.sender
785
+
786
+ > **sender**: `AztecAddress`
787
+
788
+ #### result
789
+
790
+ > **result**: `AztecAddress`
791
+
792
+ #### Param
793
+
794
+ The sender (contact) address to register
795
+
796
+ #### Returns
797
+
798
+ True if registration was successful
799
+
800
+ ***
801
+
802
+ ### aztec\_removeSender
803
+
804
+ > **aztec\_removeSender**: `object`
805
+
806
+ Defined in: [aztec/rpc-wallet/src/types.ts:212](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L212)
807
+
808
+ #### params
809
+
810
+ > **params**: `object`
811
+
812
+ ##### params.sender
813
+
814
+ > **sender**: `AztecAddress`
815
+
816
+ #### result
817
+
818
+ > **result**: `boolean`
819
+
820
+ ***
821
+
822
+ ### aztec\_sendTransaction
823
+
824
+ > **aztec\_sendTransaction**: `object`
825
+
826
+ Defined in: [aztec/rpc-wallet/src/types.ts:101](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L101)
827
+
828
+ Sends transactions to the Aztec network.
829
+
830
+ #### params
831
+
832
+ > **params**: [`TransactionParams`](../type-aliases/TransactionParams.md)
833
+
834
+ #### result
835
+
836
+ > **result**: `string`
837
+
838
+ #### Param
839
+
840
+ The transactions to execute and optional authorization witnesses
841
+
842
+ #### Returns
843
+
844
+ The transaction hash as a string
845
+
846
+ #### Inherited from
847
+
848
+ [`AztecWalletBaseMethodMap`](AztecWalletBaseMethodMap.md).[`aztec_sendTransaction`](AztecWalletBaseMethodMap.md#aztec_sendtransaction)
849
+
850
+ ***
851
+
852
+ ### aztec\_sendTx
853
+
854
+ > **aztec\_sendTx**: `object`
855
+
856
+ Defined in: [aztec/rpc-wallet/src/types.ts:243](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L243)
857
+
858
+ #### params
859
+
860
+ > **params**: `object`
861
+
862
+ ##### params.tx
863
+
864
+ > **tx**: `Tx`
865
+
866
+ #### result
867
+
868
+ > **result**: `TxHash`
869
+
870
+ ***
871
+
872
+ ### aztec\_setScopes
873
+
874
+ > **aztec\_setScopes**: `object`
875
+
876
+ Defined in: [aztec/rpc-wallet/src/types.ts:173](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L173)
877
+
878
+ #### params
879
+
880
+ > **params**: `object`
881
+
882
+ ##### params.scopes
883
+
884
+ > **scopes**: `AztecAddress`[]
885
+
886
+ #### result
887
+
888
+ > **result**: `boolean`
889
+
890
+ ***
891
+
892
+ ### aztec\_simulateTransaction
893
+
894
+ > **aztec\_simulateTransaction**: `object`
895
+
896
+ Defined in: [aztec/rpc-wallet/src/types.ts:111](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L111)
897
+
898
+ Simulates a transaction without executing it.
899
+
900
+ #### params
901
+
902
+ > **params**: [`TransactionFunctionCall`](../type-aliases/TransactionFunctionCall.md)
903
+
904
+ #### result
905
+
906
+ > **result**: `unknown`
907
+
908
+ #### Param
909
+
910
+ The transaction to simulate
911
+
912
+ #### Returns
913
+
914
+ The simulation result
915
+
916
+ #### Inherited from
917
+
918
+ [`AztecWalletBaseMethodMap`](AztecWalletBaseMethodMap.md).[`aztec_simulateTransaction`](AztecWalletBaseMethodMap.md#aztec_simulatetransaction)
919
+
920
+ ***
921
+
922
+ ### aztec\_simulateTx
923
+
924
+ > **aztec\_simulateTx**: `object`
925
+
926
+ Defined in: [aztec/rpc-wallet/src/types.ts:252](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L252)
927
+
928
+ #### params
929
+
930
+ > **params**: `object`
931
+
932
+ ##### params.enforceFeePayment?
933
+
934
+ > `optional` **enforceFeePayment**: `boolean`
935
+
936
+ ##### params.msgSender?
937
+
938
+ > `optional` **msgSender**: `AztecAddress`
939
+
940
+ ##### params.profile?
941
+
942
+ > `optional` **profile**: `boolean`
943
+
944
+ ##### params.simulatePublic
945
+
946
+ > **simulatePublic**: `boolean`
947
+
948
+ ##### params.skipTxValidation?
949
+
950
+ > `optional` **skipTxValidation**: `boolean`
951
+
952
+ ##### params.txRequest
953
+
954
+ > **txRequest**: `TxExecutionRequest`
955
+
956
+ #### result
957
+
958
+ > **result**: `TxSimulationResult`
959
+
960
+ ***
961
+
962
+ ### aztec\_simulateUnconstrained
963
+
964
+ > **aztec\_simulateUnconstrained**: `object`
965
+
966
+ Defined in: [aztec/rpc-wallet/src/types.ts:263](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L263)
967
+
968
+ #### params
969
+
970
+ > **params**: `object`
971
+
972
+ ##### params.args
973
+
974
+ > **args**: `unknown`[]
975
+
976
+ ##### params.from?
977
+
978
+ > `optional` **from**: `AztecAddress`
979
+
980
+ ##### params.functionName
981
+
982
+ > **functionName**: `string`
983
+
984
+ ##### params.to
985
+
986
+ > **to**: `AztecAddress`
987
+
988
+ #### result
989
+
990
+ > **result**: `AbiDecoded`
991
+
992
+ ***
993
+
994
+ ### wm\_getSupportedMethods
995
+
996
+ > **wm\_getSupportedMethods**: `object`
997
+
998
+ Defined in: [aztec/rpc-wallet/src/types.ts:120](https://github.com/WalletMesh/walletmesh-packages/blob/937a416f9c444488735f94f0d3eb35a7feadda3e/aztec/rpc-wallet/src/types.ts#L120)
999
+
1000
+ Returns the list of supported methods for the wallet.
1001
+
1002
+ #### result
1003
+
1004
+ > **result**: `string`[]
1005
+
1006
+ #### Returns
1007
+
1008
+ An array of supported methods
1009
+
1010
+ #### Inherited from
1011
+
1012
+ [`AztecWalletBaseMethodMap`](AztecWalletBaseMethodMap.md).[`wm_getSupportedMethods`](AztecWalletBaseMethodMap.md#wm_getsupportedmethods)