CreateShieldedContractParameters
For detail, refer https://github.com/tronprotocol/documentation-en/blob/master/docs/mechanism-algorithm/shielded-TRC20-contract.md.
Body params:
ovk
from_amount
to_amount
transparent_to_address
shielded_TRC20_contract_address
shielded_receives
shielded_spends
ask
nsk
Request
curl --request POST \
--url https://tron.api.watchdata.io/wallet/createshieldedcontractparameters \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '
{
"ovk": "string",
"from_amount": "string",
"to_amount": "string",
"transparent_to_address": "string",
"shielded_TRC20_contract_address": "string",
"ask": "string",
"nsk": "string"
}
'
Response
{
"Error": "class org.tron.core.services.http.JsonFormat$ParseException : 1:8: INVALID hex String"
}
Last updated