wallet/createshieldedcontractparameterswithoutask | TRON
TRON API method that creates parameters for a shielded TRC20 contract transaction without requiring the authentication secret key (ask).
Parameters
ovk— the outgoing viewing key for transaction monitoring (0x-prefixed hex string)from_address— the sender’s shielded address (ztron1 format)to_address— the recipient’s shielded address (ztron1 format)amount— the amount to transfer (in sun, as string)transparent_from_address— optional transparent sender address (T-address format)transparent_to_address— optional transparent recipient address (T-address format)
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/createshieldedcontractparameterswithoutask method is used for:
- Creating shielded transaction parameters without access to authentication secret keys
- Generating transaction data for view-only or monitoring applications
- Supporting simplified wallet implementations that don’t store sensitive key material
- Enabling third-party services to prepare shielded transactions with limited key access
Body
Outgoing viewing key (64 hex characters, no 0x prefix)
"09b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1"
Sender's shielded address
"ztron1a2b3c4d5e6f7g8h9j0k1l2m3n4p5q6r7s8t9u0v1w2x3y4z5a6b7c8d9e0f1g2h3j4k5l6m7n8p9"
Recipient's shielded address
"ztron1z9y8x7w6v5u4t3s2r1q0p9n8m7l6k5j4h3g2f1e0d9c8b7a6z5y4x3w2v1u0t9s8r7q6p5n4m3"
Amount to transfer
"1000000"
Optional transparent sender address
"TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE"
Optional transparent recipient address
"TXYZoPYKcJJvXWc2WqJcqWvHqCqvqP5h3X"