TRONZ Shielded Smart Contract

APIs for shielded smart contract note scanning, transaction construction, and spend/receive handling.

APIs for shielded smart contract note scanning, transaction construction, and spend/receive handling.

APIs in this group

Note scanning and query

APIPurpose
ScanShieldedTrc20NotesByIvkScan shielded TRC20 notes by incoming viewing key.
ScanAndMarkNoteByIvkScan notes by incoming viewing key and mark spent notes.
ScanShieldedTrc20NotesByOvkScan shielded TRC20 notes by outgoing viewing key.
GetSpendingKeyGenerate or query a spending key.
GetExpandedSpendingKeyQuery an expanded spending key.
GetAkFromAskDerive ask-related key material.
GetNkFromNskDerive nsk-related key material.
GetIncomingViewingKeyDerive an incoming viewing key.
GetDiversifierGenerate a diversifier.
GetZenPaymentAddressGenerate a shielded payment address.

Transaction construction and verification

APIPurpose
CreateShieldedContractParametersCreate shielded contract parameters.
CreateShieldedContractParametersWithoutAskCreate shielded parameters without ask.
IsShieldedTrc20ContractNoteSpentCheck whether a shielded TRC20 note is spent.

Related resources