Skip to main content
POST
/
95e61622bf6a8af293978377718e3b77
/
wallet
/
createshieldedcontractparameterswithoutask
wallet/createshieldedcontractparameterswithoutask
curl --request POST \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/createshieldedcontractparameterswithoutask \
  --header 'Content-Type: application/json' \
  --data '{
  "ovk": "09b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1",
  "from_address": "ztron1a2b3c4d5e6f7g8h9j0k1l2m3n4p5q6r7s8t9u0v1w2x3y4z5a6b7c8d9e0f1g2h3j4k5l6m7n8p9",
  "to_address": "ztron1z9y8x7w6v5u4t3s2r1q0p9n8m7l6k5j4h3g2f1e0d9c8b7a6z5y4x3w2v1u0t9s8r7q6p5n4m3",
  "amount": "1000000",
  "transparent_from_address": "TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE",
  "transparent_to_address": "TXYZoPYKcJJvXWc2WqJcqWvHqCqvqP5h3X"
}'
{
  "receive_description": {},
  "spend_description": {},
  "binding_signature": "<string>"
}
TRON API method that creates parameters for a shielded TRC20 contract transaction without requiring the authentication secret key (ask). This simplified version is used when the ask is not available or needed for the specific transaction type.
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 addresses and cryptographic material. All parameters must be properly formatted: shielded addresses must be valid ztron1 addresses, the outgoing viewing key must be a valid 0x-prefixed hex string, and optional transparent addresses must be valid TRON addresses (starting with T). Invalid or placeholder values will result in parsing errors.

Parameters

  • ovk — the outgoing viewing key for transaction monitoring (0x-prefixed hex string)
  • from_address — the sender’s shielded address (ztron1 format)
  • to_address — the recipient’s shielded address (ztron1 format)
  • amount — the amount to transfer (in sun, as string)
  • transparent_from_address — optional transparent sender address (T-address format)
  • transparent_to_address — optional transparent recipient address (T-address format)

Response

  • receive_description — the receive description for the shielded transaction
  • spend_description — the spend description for the shielded transaction
  • binding_signature — the binding signature that ties the transaction together

Use case

The wallet/createshieldedcontractparameterswithoutask method is used for:
  • Creating shielded transaction parameters without access to authentication secret keys
  • Generating transaction data for view-only or monitoring applications
  • Supporting simplified wallet implementations that don’t store sensitive key material
  • Enabling third-party services to prepare shielded transactions with limited key access

Body

application/json
ovk
string
required

Outgoing viewing key (64 hex characters, no 0x prefix)

Example:

"09b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1"

from_address
string
required

Sender's shielded address

Example:

"ztron1a2b3c4d5e6f7g8h9j0k1l2m3n4p5q6r7s8t9u0v1w2x3y4z5a6b7c8d9e0f1g2h3j4k5l6m7n8p9"

to_address
string
required

Recipient's shielded address

Example:

"ztron1z9y8x7w6v5u4t3s2r1q0p9n8m7l6k5j4h3g2f1e0d9c8b7a6z5y4x3w2v1u0t9s8r7q6p5n4m3"

amount
string
required

Amount to transfer

Example:

"1000000"

transparent_from_address
string

Optional transparent sender address

Example:

"TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE"

transparent_to_address
string

Optional transparent recipient address

Example:

"TXYZoPYKcJJvXWc2WqJcqWvHqCqvqP5h3X"

Response

200 - application/json

Successfully created shielded contract parameters

receive_description
object

Receive description for shielded transaction

spend_description
object

Spend description for shielded transaction

binding_signature
string

Binding signature for transaction