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.
This endpoint requires valid shielded TRC20 parameters generated from prior shielded transaction preparation. All hex values must be provided without the 0x prefix. You must specify the
parameter_type field with one of these values: “mint”, “burn”, or “transfer”. The parameters must include valid zero-knowledge proofs, binding signature, and message hash from the shielded transaction protocol.Parameters
shielded_TRC20_Parameters— object containing shielded transaction parametersspend_description— array of spend descriptions for transaction inputsvalue_commitment— value commitment (hex without 0x prefix)anchor— Merkle root of note commitment tree (hex without 0x prefix)nullifier— nullifier to prevent double spending (hex without 0x prefix)rk— public key for spend authorization signature verification (hex without 0x prefix)zkproof— zero-knowledge proof data (hex without 0x prefix)
receive_description— array of receive descriptions for transaction outputs (required for transfer operations)value_commitment— value commitment (hex without 0x prefix)note_commitment— note commitment (hex without 0x prefix)epk— ephemeral public key (hex without 0x prefix)c_enc— encrypted note ciphertext (hex without 0x prefix)c_out— output ciphertext for auditing (hex without 0x prefix)zkproof— zero-knowledge proof data (hex without 0x prefix)
binding_signature— binding signature for the transaction (hex without 0x prefix)message_hash— hash of the transaction message (hex without 0x prefix)parameter_type— type of shielded operation: “mint”, “burn”, or “transfer”
spend_authority_signature— array of spend authority signatures (one for each spend description)value— spend authorization signature (hex without 0x prefix)
Response
trigger_contract_input— the formatted input data for triggering the shielded TRC20 contract
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
Response
200 - application/json
Successfully generated trigger input parameters
Formatted input data for triggering the shielded TRC20 contract
Example:
"a9059cbb000000000000000000000041..."