@walletmesh/aztec-rpc-wallet 0.2.0 → 0.3.1

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