Parameters
spend_authority_signature— the spending authority signature for the transactionview_signature— the view signature componentproof_generation_key— the proof generation key for creating zero-knowledge proofspayment_address— the recipient’s shielded payment addressrcm— the randomness commitment valuear— the authentication randomness valuealpha— the alpha parameter for proof generationrsk— the randomness for spending keyask— the authentication secret key
Response
receive_description— the receive description for the shielded transactionspend_description— the spend description for the shielded transactionbinding_signature— the binding signature that ties the transaction together
Use case
Thewallet/createshieldedcontractparameters method is used for:
- Creating the cryptographic parameters needed for shielded TRC20 transfers
 - Generating zero-knowledge proofs for privacy-preserving transactions
 - Preparing transaction data that maintains sender and recipient anonymity
 - Supporting advanced shielded contract functionality in wallets and applications
 
Body
Spending authority signature (128 hex characters, no 0x prefix)
"08a1b2c3d4e5f6789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
View signature component (64 hex characters, no 0x prefix)
"1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b"
Proof generation key (64 hex characters, no 0x prefix)
"2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3"
Recipient's shielded payment address (ztron1 format, 78 characters)
"ztron1768kf7dy4qquefp46szk978d65eeua66yhr4zv260c0uzj68t3tfjl3en9lhyyfxalv4jus30xs"
Randomness commitment value (64 hex characters, no 0x prefix)
"3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4"
Authentication randomness value (64 hex characters, no 0x prefix)
"4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5"
Alpha parameter for proof generation (64 hex characters, no 0x prefix)
"5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6"
Randomness for spending key (64 hex characters, no 0x prefix)
"6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7"
Authentication secret key (64 hex characters, no 0x prefix)
"7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8"