wallet/createshieldedtransaction; attempting to POST to that route returns HTTP 405. Build shielded transactions locally using TRON shielded transaction libraries.
Parameters
transparent_from_address— the transparent TRX address sending funds (optional)from_amount— the amount to send from transparent address (in sun)spend_authority_signature— array of spending authority signatures for shielded inputsask— authentication secret key for transaction signingnsk— nullifier secret key for creating nullifiersovk— outgoing viewing key for transaction encryptionto_address— recipient shielded addressto_amount— amount to send to shielded address (in sun)
Response
txID— the transaction ID hashraw_data_hex— the raw transaction data in hexadecimal formatraw_data— the structured raw transaction data
Use case
Thewallet/createshieldedtransaction method is used for:
- Creating fully signed shielded TRX transactions for immediate broadcast
 - Transferring TRX between transparent and shielded addresses
 - Supporting complete privacy-preserving TRX transactions
 - Enabling applications to create ready-to-broadcast shielded transactions
 
Client-side implementation
wallet/broadcasttransaction.- Construct the shielded inputs (spends) and outputs (receives) using your key material (ask, nsk, ovk)
 - Generate the zero-knowledge proof parameters offline
 - Sign the transaction with spending authority signatures
 - Build the complete signed raw transaction structure
 - Broadcast the transaction via 
wallet/broadcasttransaction 
Body
Recipient shielded address
"ztron1a2b3c4d5e6f7g8h9j0k1l2m3n4p5q6r7s8t9u0v1w2x3y4z5a6b7c8d9e0f1g2h3j4k5l6m7n8p9"
Amount to send to shielded address in sun
1000000
Transparent TRX address sending funds
"TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE"
Amount to send from transparent address in sun
1000000
Array of spending authority signatures
Authentication secret key (64 hex characters, no 0x prefix)
"08a1b2c3d4e5f6789012345678901234567890123456789012345678901234567890"
Nullifier secret key (64 hex characters, no 0x prefix)
"09a1b2c3d4e5f6789012345678901234567890123456789012345678901234567890"
Outgoing viewing key (64 hex characters, no 0x prefix)
"0aa1b2c3d4e5f6789012345678901234567890123456789012345678901234567890"
Response
Successfully created shielded transaction