getZPassRecord
Last updated
The getZPassRecord method retrieves and decrypts a ZPass record from a transaction on the blockchain.
transactionId (string): The ID of the transaction containing the ZPass record
Returns a Promise that resolves to a string containing the decrypted record data.
const record = await zpass.getZPassRecord("at1xyz...");Throws SDKError if:
No outputs are found in the transaction
No record is found in the transaction outputs
Last updated