You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/src/models/record-provider/encryptedRecord.ts
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,18 @@
1
1
/**
2
-
* Encrypted Record found on chain. This type provides the record ciphertext and metadata from the ledger that such as the record's name, the program/function that produced it, etc.
2
+
* Encrypted Record found on chain. This type provides the record ciphertext and metadata from the ledger such as the record's name, the program/function that produced it, etc.
3
3
*
4
4
* @property {string} commitment - The commitment of the record.
5
5
* @property {string | undefined} checksum - The checksum of the record.
6
6
* @property {number | undefined} block_height - The block height of the record.
7
+
* @property {number | undefined} block_timestamp - The block timestamp of the record.
7
8
* @property {string | undefined} program_name - The name of the program that produced the record.
8
9
* @property {string | undefined} function_name - The name of the function that produced the record.
9
10
* @property {number | undefined} output_index - The output index of the record.
10
11
* @property {string | undefined} owner - The owner of the record.
11
12
* @property {string | undefined} record_ciphertext - The ciphertext of the record.
12
13
* @property {string | undefined} record_name - The name of the record.
13
14
* @property {string | undefined} record_nonce - The nonce of the record.
15
+
* @property {string | undefined} sender_ciphertext - The ciphertext of the sender.
14
16
* @property {string | undefined} transaction_id - The ID of the transaction that produced the record.
15
17
* @property {string | undefined} transition_id - The ID of the transition that produced the record.
16
18
* @property {number | undefined} transaction_index - The index of the transaction that produced the record.
Copy file name to clipboardExpand all lines: sdk/src/models/record-provider/ownedRecord.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/**
2
-
* Record owned by a registered view key. This type provides the record ciphertext, record plaintext and metadata from the ledger that such as the record's name, the program/function that produced it, etc.
2
+
* Record owned by a registered view key. This type provides the record ciphertext, record plaintext and metadata from the ledger such as the record's name, the program/function that produced it, etc.
3
3
*
4
4
* @property {number | undefined} block_height - Block height where the record was created.
5
5
* @property {string | undefined} commitment - Commitment of the record.
* Check if a list of serial numbers exist in the chosen provider
31
+
* Check if a list of serial numbers exist in the chosen provider.
32
32
*
33
33
* @param {string[]} serialNumbers The serial numbers to check.
34
34
* @returns {Promise<Record<string, boolean>>} Map of Aleo Record serial numbers and whether they appeared in any inputs on chain. If boolean corresponding to the Serial Number has a true value, that Record is considered spent by the Aleo Network.
* Check if a list of tags exist in the chosen provider
39
+
* Check if a list of tags exist in the chosen provider.
40
40
*
41
41
* @param {string[]} tags The tags to check.
42
42
* @returns {Promise<Record<string, boolean>>} Map of Aleo Record tags and whether they appeared in any inputs on chain. If boolean corresponding to the tag has a true value, that Record is considered spent by the Aleo Network.
0 commit comments