Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
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 data
Response
trigger_contract_input
— the formatted input data for contract executionparameter
— the contract call parametersfunction_selector
— the function selector for the contract method
Use case
Thewallet/gettriggerinputforshieldedtrc20contract
method is used for:
- Preparing input data for shielded TRC20 contract interactions
- Converting shielded transaction parameters into contract-compatible format
- Enabling smart contract integration with shielded TRC20 functionality
- Supporting advanced DeFi applications with privacy features
Body
application/json
Address of the shielded TRC20 contract
Example:
"TGzz8gjYiYRqpfmDwnLxfgPuLVNmpCswVp"
Scaling factor for amount calculations
Example:
"1000000"
Value commitment for the transaction
Example:
"0x0ff1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2"
Nullifier to prevent double spending
Example:
"0x1002b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3"
Randomized key for verification
Example:
"0x1113c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4"
Zero-knowledge proof data
Example:
"0x1224d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5"
Response
200 - application/json
Successfully generated trigger input parameters