@@ -424,12 +424,12 @@ Decrypt a ciphertext using the view key of the transition signer, transition pub
424424
425425Parameters | Type | Description
426426--- | --- | ---
427- __ view_key__ | ` ViewKey ` | **
428- __ transition_public_key__ | [ Group] ( sdk-src_wasm.md ) | **
429- __ program__ | ` string ` | **
430- __ function_name__ | ` string ` | **
431- __ index__ | ` number ` | **
432- __ * return* __ | [ Plaintext] ( sdk-src_wasm.md ) | **
427+ __ view_key__ | ` ViewKey ` | * The view key of the transition signer. *
428+ __ transition_public_key__ | [ Group] ( sdk-src_wasm.md ) | * The transition public key used to encrypt the ciphertext. *
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+ __ * return* __ | [ Plaintext] ( sdk-src_wasm.md ) | * The decrypted plaintext. *
433433
434434---
435435
@@ -441,11 +441,11 @@ Decrypt a ciphertext using the transition view key and a (program, function, ind
441441
442442Parameters | Type | Description
443443--- | --- | ---
444- __ transition_view_key__ | [ Field] ( sdk-src_wasm.md ) | **
445- __ program__ | ` string ` | **
446- __ function_name__ | ` string ` | **
447- __ index__ | ` number ` | **
448- __ * return* __ | [ Plaintext] ( sdk-src_wasm.md ) | **
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 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+ __ * return* __ | [ Plaintext] ( sdk-src_wasm.md ) | * The decrypted plaintext. *
449449
450450---
451451
@@ -1280,8 +1280,9 @@ Creates a new offline query object. The state root is required to be passed in a
12801280
12811281Parameters | Type | Description
12821282--- | --- | ---
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.*
12851286
12861287---
12871288
@@ -1295,7 +1296,7 @@ Add a new block height to the offline query object.
12951296
12961297Parameters | Type | Description
12971298--- | --- | ---
1298- __ block_height__ | ` number ` | **
1299+ __ block_height__ | ` u32 ` | * The block height to add. *
12991300__ * return* __ | ` void ` | **
13001301
13011302---
@@ -1308,8 +1309,8 @@ Add a new state path to the offline query object.
13081309
13091310Parameters | Type | Description
13101311--- | --- | ---
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. *
13131314__ * return* __ | ` void ` | **
13141315
13151316---
@@ -1318,23 +1319,23 @@ __*return*__ | `void` | **
13181319
13191320![ modifier: public] ( images/badges/modifier-public.svg )
13201321
1321- Get a json string representation of the offline query object
1322+ Get a json string representation of the offline query object.
13221323
13231324Parameters | Type | Description
13241325--- | --- | ---
1325- __ * return* __ | ` string ` | **
1326+ __ * return* __ | ` string ` | * JSON string representation of the offline query object. *
13261327
13271328---
13281329
1329- ### ` fromString(s ) ► OfflineQuery `
1330+ ### ` fromString(JSON ) ► OfflineQuery `
13301331
13311332![ modifier: public] ( images/badges/modifier-public.svg ) ![ modifier: static] ( images/badges/modifier-static.svg )
13321333
1333- Create an offline query object from a json string representation
1334+ Create an offline query object from a json string representation.
13341335
13351336Parameters | Type | Description
13361337--- | --- | ---
1337- __ s __ | ` string ` | **
1338+ __ JSON __ | ` string ` | * string representation of the offline query object. *
13381339__ * return* __ | [ OfflineQuery] ( sdk-src_wasm.md ) | **
13391340
13401341---
@@ -1387,9 +1388,9 @@ Encrypt a plaintext with an address and randomizer.
13871388
13881389Parameters | Type | Description
13891390--- | --- | ---
1390- __address__ | [Address](sdk-src_wasm.md) | **
1391- __randomizer__ | [Scalar](sdk-src_wasm.md) | **
1392- __*return*__ | [Ciphertext](sdk-src_wasm.md) | **
1391+ __address__ | [Address](sdk-src_wasm.md) | *The address to encrypt the plaintext for. *
1392+ __randomizer__ | [Scalar](sdk-src_wasm.md) | *The randomizer to use for encryption. *
1393+ __*return*__ | [Ciphertext](sdk-src_wasm.md) | *The encrypted ciphertext. *
13931394
13941395---
13951396
@@ -1401,8 +1402,9 @@ Encrypt a plaintext with a transition view key.
14011402
14021403Parameters | Type | Description
14031404--- | --- | ---
1404- __transition_view_key__ | [Field](sdk-src_wasm.md) | **
1405- __*return*__ | [Ciphertext](sdk-src_wasm.md) | **
1405+ __transition_view_key__ | [Field](sdk-src_wasm.md) | *The transition view key of the transition
1406+ associated with the plaintext.*
1407+ __*return*__ | [Ciphertext](sdk-src_wasm.md) | *The encrypted ciphertext.*
14061408
14071409---
14081410
@@ -1440,7 +1442,7 @@ Get the left endian byte array representation of the plaintext.
14401442
14411443Parameters | Type | Description
14421444--- | --- | ---
1443- __*return*__ | ` Uint8Array ` | **
1445+ __*return*__ | ` Uint8Array ` | *The left endian byte array representation of the plaintext. *
14441446
14451447---
14461448
@@ -1457,15 +1459,15 @@ __*return*__ | [Plaintext](sdk-src_wasm.md) | *The plaintext object.*
14571459
14581460---
14591461
1460- ### ` toBitsLe () ► Array . < any > `
1462+ ### ` toBitsLe () ► Array `
14611463
14621464
14631465
14641466Get the left endian boolean array representation of the bits of the plaintext.
14651467
14661468Parameters | Type | Description
14671469--- | --- | ---
1468- __*return*__ | ` Array . < any > ` | **
1470+ __*return*__ | ` Array ` | *The left endian boolean array representation of the bits of the plaintext. *
14691471
14701472---
14711473
@@ -1482,15 +1484,15 @@ __*return*__ | [Plaintext](sdk-src_wasm.md) | *The plaintext object.*
14821484
14831485---
14841486
1485- ### ` toFields () ► Array . < any > `
1487+ ### ` toFields () ► Array `
14861488
14871489
14881490
14891491Get the field array representation of the plaintext.
14901492
14911493Parameters | Type | Description
14921494--- | --- | ---
1493- __*return*__ | ` Array . < any > ` | **
1495+ __*return*__ | ` Array ` | *The field array representation of the plaintext. *
14941496
14951497---
14961498
@@ -2529,7 +2531,7 @@ Get the left endian byte array representation of the record ciphertext.
25292531
25302532Parameters | Type | Description
25312533--- | --- | ---
2532- __*return*__ | ` Uint8Array ` | **
2534+ __*return*__ | ` Uint8Array ` | *Left endian byte array representation of the record ciphertext. *
25332535
25342536---
25352537
@@ -2539,21 +2541,23 @@ __*return*__ | `Uint8Array` | **
25392541
25402542Get the left endian boolean array representation of the record ciphertext bits.
25412543
2544+ returns {Array} Left endian boolean array representation of the bits of the record ciphertext.
2545+
25422546Parameters | Type | Description
25432547--- | --- | ---
25442548__*return*__ | ` Array .< any> ` | **
25452549
25462550---
25472551
2548- ### ` toFields () ► Array . < any > `
2552+ ### ` toFields () ► Array `
25492553
25502554
25512555
25522556Get the field array representation of the record ciphertext.
25532557
25542558Parameters | Type | Description
25552559--- | --- | ---
2556- __*return*__ | ` Array . < any > ` | **
2560+ __*return*__ | ` Array ` | *Field array representation of the record ciphertext. *
25572561
25582562---
25592563
@@ -2578,7 +2582,7 @@ Get the record nonce.
25782582
25792583Parameters | Type | Description
25802584--- | --- | ---
2581- __*return*__ | [Group](sdk-src_wasm.md) | **
2585+ __*return*__ | [Group](sdk-src_wasm.md) | *The record nonce. *
25822586
25832587---
25842588
@@ -2596,11 +2600,24 @@ Return a record plaintext from a string.
25962600
25972601Parameters | Type | Description
25982602--- | --- | ---
2599- __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. *
26002604__*return*__ | [RecordPlaintext](sdk-src_wasm.md) | *Record plaintext*
26012605
26022606---
26032607
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+
26042621### ` owner () ► Address`
26052622
26062623
@@ -2609,7 +2626,7 @@ Get the owner of the record.
26092626
26102627Parameters | Type | Description
26112628--- | --- | ---
2612- __*return*__ | [Address](sdk-src_wasm.md) | **
2629+ __*return*__ | [Address](sdk-src_wasm.md) | *Address of the owner of the record. *
26132630
26142631---
26152632
0 commit comments