Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decrypt transactions with record view key in gettransaction RPC #1479

Merged
merged 3 commits into from
Dec 20, 2021

Conversation

collinc97
Copy link
Contributor

Closes #1470

Overview

The gettransaction JSON response now has a decrypted_records field with the array of records.

Documentation

Testing

Updated Test - Calling the gettransaction endpoint on the genesis transition id correctly returns the decrypted records.

@howardwu
Copy link
Contributor

howardwu commented Dec 20, 2021

This endpoint will need to be refactored in the future to have decrypted records associated with the corresponding transitions, instead of transactions. Assume it to be a breaking change

@collinc97 collinc97 merged commit 82ebb56 into testnet2 Dec 20, 2021
@collinc97 collinc97 deleted the feature/rpc-gettransaction branch December 20, 2021 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Decrypt transactions with record view key in gettransaction RPC endpoint
2 participants