curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/createshieldedtransactionwithoutspendauthsig \
--header 'Content-Type: application/json' \
--data '
{
"to_address": "ztron1a2b3c4d5e6f7g8h9j0k1l2m3n4p5q6r7s8t9u0v1w2x3y4z5a6b7c8d9e0f1g2h3j4k5l6m7n8p9",
"to_amount": 1000000,
"transparent_from_address": "TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE",
"from_amount": 1000000,
"shielded_spends": [
{}
],
"shielded_receives": [
{}
]
}
'{
"raw_data_hex": "<string>",
"raw_data": {},
"txID": "1a2b3c4d5e6f7890abcdef1234567890abcdef1234567890abcdef1234567890"
}curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/createshieldedtransactionwithoutspendauthsig \
--header 'Content-Type: application/json' \
--data '
{
"to_address": "ztron1a2b3c4d5e6f7g8h9j0k1l2m3n4p5q6r7s8t9u0v1w2x3y4z5a6b7c8d9e0f1g2h3j4k5l6m7n8p9",
"to_amount": 1000000,
"transparent_from_address": "TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE",
"from_amount": 1000000,
"shielded_spends": [
{}
],
"shielded_receives": [
{}
]
}
'{
"raw_data_hex": "<string>",
"raw_data": {},
"txID": "1a2b3c4d5e6f7890abcdef1234567890abcdef1234567890abcdef1234567890"
}transparent_from_address — the transparent TRX address sending funds (optional)from_amount — the amount to send from transparent address (in sun)shielded_spends — array of shielded input specificationsshielded_receives — array of shielded output specificationsto_address — recipient shielded addressto_amount — amount to send to shielded address (in sun)raw_data_hex — the raw unsigned transaction data in hexadecimal formatraw_data — the structured raw unsigned transaction datatxID — the transaction ID hash (will change after signing)wallet/createshieldedtransactionwithoutspendauthsig method is used for:
wallet/broadcasttransactionRecipient 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 shielded input specifications
Array of shielded output specifications
Successfully created unsigned shielded transaction
Was this page helpful?