curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/gettriggerinputforshieldedtrc20contract \
--header 'Content-Type: application/json' \
--data '{
"shielded_TRC20_contract_address": "TGzz8gjYiYRqpfmDwnLxfgPuLVNmpCswVp",
"scaling_factor": "1000000",
"value_commitment": "0x0ff1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2",
"nullifier": "0x1002b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3",
"rk": "0x1113c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4",
"proof": "0x1224d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5"
}'
{
"trigger_contract_input": "0x1335e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6",
"parameter": "<string>",
"function_selector": "0x12345678"
}
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/gettriggerinputforshieldedtrc20contract \
--header 'Content-Type: application/json' \
--data '{
"shielded_TRC20_contract_address": "TGzz8gjYiYRqpfmDwnLxfgPuLVNmpCswVp",
"scaling_factor": "1000000",
"value_commitment": "0x0ff1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2",
"nullifier": "0x1002b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3",
"rk": "0x1113c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4",
"proof": "0x1224d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5"
}'
{
"trigger_contract_input": "0x1335e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6",
"parameter": "<string>",
"function_selector": "0x12345678"
}
shielded_TRC20_contract_address
— the address of the shielded TRC20 contractscaling_factor
— the scaling factor for amount calculationsvalue_commitment
— the value commitment for the transactionnullifier
— the nullifier to prevent double spendingrk
— the randomized key for verificationproof
— the zero-knowledge proof datatrigger_contract_input
— the formatted input data for contract executionparameter
— the contract call parametersfunction_selector
— the function selector for the contract methodwallet/gettriggerinputforshieldedtrc20contract
method is used for:
Successfully generated trigger input parameters
The response is of type object
.