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
* wip: started upgrade to record provider interface and started record scanner implementation of said interface
* moved record provider types to models dir. moved nonces out of record provider method signatures into RecordSearchParams interface. added jsdoc comments to record scanner
* added jsdoc comments to record provider/scanner types
* fixed failing record provider tests
* fixed casing of fields on OwnedRecord and EncryptedRecord types
* corrected fields in RecordsFilter interface
* updated encryptedRecords function to mirror changes made to the endpoint in RSS
* changed program to programs in RecordsFilter
* fixed outdated test case for invalid transaction id API response
* added optional apiKey field to RecordScanner
* changed api key field on RecordScanner to be able to accept either a plain key as a string or an object containing the key and the header name
* removed concrete record scanner impl
* Add missing fields to documentation and objects
Signed-off-by: Mike Turner <[email protected]>
* corrected boolean type name in ownedFilter.ts
---------
Signed-off-by: Mike Turner <[email protected]>
Co-authored-by: Mike Turner <[email protected]>
* 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
+
*
4
+
* @property {string} commitment - The commitment of the record.
5
+
* @property {string | undefined} checksum - The checksum of the record.
6
+
* @property {number | undefined} block_height - The block height of the record.
7
+
* @property {number | undefined} block_timestamp - The block timestamp of the record.
8
+
* @property {string | undefined} program_name - The name of the program that produced the record.
9
+
* @property {string | undefined} function_name - The name of the function that produced the record.
10
+
* @property {number | undefined} output_index - The output index of the record.
11
+
* @property {string | undefined} owner - The owner of the record.
12
+
* @property {string | undefined} record_ciphertext - The ciphertext of the record.
13
+
* @property {string | undefined} record_name - The name of the record.
14
+
* @property {string | undefined} record_nonce - The nonce of the record.
15
+
* @property {string | undefined} sender_ciphertext - The ciphertext of the sender.
16
+
* @property {string | undefined} transaction_id - The ID of the transaction that produced the record.
17
+
* @property {string | undefined} transition_id - The ID of the transition that produced the record.
18
+
* @property {number | undefined} transaction_index - The index of the transaction that produced the record.
19
+
* @property {number | undefined} transition_index - The index of the transition that produced the record.
* 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
+
*
4
+
* @property {number | undefined} block_height - Block height where the record was created.
5
+
* @property {number | undefined} block_timestamp - The timestamp of the block that the record was created in.
6
+
* @property {string | undefined} commitment - Commitment of the record.
7
+
* @property {string | undefined} function_name - Name of the function that created the record.
8
+
* @property {number | undefined} output_index - Index of the output in the function call that created the record.
9
+
* @property {string | undefined} owner - Address of the record owner.
10
+
* @property {string | undefined} program_name - Name of the program that created the record.
11
+
* @property {string | undefined} record_ciphertext - Encrypted ciphertext of the record.
12
+
* @property {string | undefined} record_name - Name of the record.
13
+
* @property {string | undefined} sender - Address of the sender.
14
+
* @property {boolean | undefined} spent - Whether the record has been spent.
15
+
* @property {string | undefined} tag - Tag associated with the record.
16
+
* @property {string | undefined} transaction_id - ID of the transaction that created the record.
17
+
* @property {string | undefined} transition_id - ID of the transition that created the record.
18
+
* @property {string | undefined} transaction_index - Index of the transaction in the block.
19
+
* @property {string | undefined} transition_index - Index of the transition in the transaction.
0 commit comments