@@ -426,9 +426,9 @@ Parameters | Type | Description
426
426
--- | --- | ---
427
427
__ view_key__ | ` ViewKey ` | * The view key of the transition signer.*
428
428
__ transition_public_key__ | [ Group] ( sdk-src_wasm.md ) | * The transition public key used to encrypt the ciphertext.*
429
- __ program__ | ` string ` | * The program ID of the function that encrypted the ciphertext.*
430
- __ function_name__ | ` string ` | * The function name that encrypted the ciphertext .*
431
- __ index__ | ` u16 ` | * The index of the input parameter that was encrypted.*
429
+ __ program__ | ` string ` | * The program ID associated with the ciphertext.*
430
+ __ function_name__ | ` string ` | * The name of the function associated with the encrypted inputs and outputs .*
431
+ __ index__ | ` u16 ` | * The index of the input or output parameter that was encrypted.*
432
432
__ * return* __ | [ Plaintext] ( sdk-src_wasm.md ) | * The decrypted plaintext.*
433
433
434
434
---
@@ -442,9 +442,9 @@ Decrypt a ciphertext using the transition view key and a (program, function, ind
442
442
Parameters | Type | Description
443
443
--- | --- | ---
444
444
__ transition_view_key__ | [ Field] ( sdk-src_wasm.md ) | * The transition view key that was used to encrypt the ciphertext.*
445
- __ program__ | ` string ` | * The program ID of the function that encrypted the ciphertext.*
446
- __ function_name__ | ` string ` | * The function name that encrypted the ciphertext .*
447
- __ index__ | ` u16 ` | * The index of the input parameter that was encrypted.*
445
+ __ program__ | ` string ` | * The program ID associated with the ciphertext.*
446
+ __ function_name__ | ` string ` | * The name of the function associated with the encrypted inputs and outputs .*
447
+ __ index__ | ` u16 ` | * The index of the input or output parameter that was encrypted.*
448
448
__ * return* __ | [ Plaintext] ( sdk-src_wasm.md ) | * The decrypted plaintext.*
449
449
450
450
---
@@ -1280,8 +1280,9 @@ Creates a new offline query object. The state root is required to be passed in a
1280
1280
1281
1281
Parameters | Type | Description
1282
1282
--- | --- | ---
1283
- __ block_height__ | ` number ` | **
1284
- __ state_root__ | ` string ` | **
1283
+ __ block_height__ | ` u32 ` | * The block height.*
1284
+ __ state_root__ | ` string ` | * The state root of the current network.*
1285
+ __ * return* __ | [ OfflineQuery] ( sdk-src_wasm.md ) | * The newly created offline query object.*
1285
1286
1286
1287
---
1287
1288
@@ -1295,7 +1296,7 @@ Add a new block height to the offline query object.
1295
1296
1296
1297
Parameters | Type | Description
1297
1298
--- | --- | ---
1298
- __ block_height__ | ` number ` | **
1299
+ __ block_height__ | ` u32 ` | * The block height to add. *
1299
1300
__ * return* __ | ` void ` | **
1300
1301
1301
1302
---
@@ -1308,8 +1309,8 @@ Add a new state path to the offline query object.
1308
1309
1309
1310
Parameters | Type | Description
1310
1311
--- | --- | ---
1311
- __ commitment:__ | ` string ` | * The commitment corresponding to a record inpout *
1312
- __ state_path:__ | ` string ` | * The state path corresponding to the commitment*
1312
+ __ commitment:__ | ` string ` | * The commitment corresponding to a record input. *
1313
+ __ state_path:__ | ` string ` | * The state path corresponding to the commitment. *
1313
1314
__ * return* __ | ` void ` | **
1314
1315
1315
1316
---
@@ -1318,23 +1319,23 @@ __*return*__ | `void` | **
1318
1319
1319
1320
![ modifier: public] ( images/badges/modifier-public.svg )
1320
1321
1321
- Get a json string representation of the offline query object
1322
+ Get a json string representation of the offline query object.
1322
1323
1323
1324
Parameters | Type | Description
1324
1325
--- | --- | ---
1325
- __ * return* __ | ` string ` | * JSON string representation of the offline query object*
1326
+ __ * return* __ | ` string ` | * JSON string representation of the offline query object. *
1326
1327
1327
1328
---
1328
1329
1329
- ### ` fromString(s ) ► OfflineQuery `
1330
+ ### ` fromString(JSON ) ► OfflineQuery `
1330
1331
1331
1332
![ modifier: public] ( images/badges/modifier-public.svg ) ![ modifier: static] ( images/badges/modifier-static.svg )
1332
1333
1333
- Create an offline query object from a json string representation
1334
+ Create an offline query object from a json string representation.
1334
1335
1335
1336
Parameters | Type | Description
1336
1337
--- | --- | ---
1337
- __ s __ | ` string ` | * JSON string representation of the offline query object*
1338
+ __ JSON __ | ` string ` | * string representation of the offline query object. *
1338
1339
__ * return* __ | [ OfflineQuery] ( sdk-src_wasm.md ) | **
1339
1340
1340
1341
---
@@ -1401,7 +1402,8 @@ Encrypt a plaintext with a transition view key.
1401
1402
1402
1403
Parameters | Type | Description
1403
1404
--- | --- | ---
1404
- __transition_view_key__ | [Field](sdk-src_wasm.md) | *The transition view key to use for encryption.*
1405
+ __transition_view_key__ | [Field](sdk-src_wasm.md) | *The transition view key of the transition
1406
+ associated with the plaintext.*
1405
1407
__*return*__ | [Ciphertext](sdk-src_wasm.md) | *The encrypted ciphertext.*
1406
1408
1407
1409
---
@@ -2598,11 +2600,24 @@ Return a record plaintext from a string.
2598
2600
2599
2601
Parameters | Type | Description
2600
2602
--- | --- | ---
2601
- __record__ | ` string` | *String representation of a plaintext representation of an Aleo record*
2603
+ __record__ | ` string` | *String representation of a plaintext representation of an Aleo record. *
2602
2604
__*return*__ | [RecordPlaintext](sdk-src_wasm.md) | *Record plaintext*
2603
2605
2604
2606
---
2605
2607
2608
+ ### ` getMember (input) ► Plaintext`
2609
+
2610
+ 
2611
+
2612
+ Get the record entry matching a key.
2613
+
2614
+ Parameters | Type | Description
2615
+ --- | --- | ---
2616
+ __input__ | ` string` | *The key to retrieve the value in the record data field.*
2617
+ __*return*__ | [Plaintext](sdk-src_wasm.md) | *The plaintext value corresponding to the key.*
2618
+
2619
+ ---
2620
+
2606
2621
### ` owner () ► Address`
2607
2622
2608
2623

0 commit comments