POST
/
95e61622bf6a8af293978377718e3b77
/
wallet
/
getzenpaymentaddress
wallet/getzenpaymentaddress
curl --request POST \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getzenpaymentaddress \
  --header 'Content-Type: application/json' \
  --data '{
  "ivk": "0x05d4e5f6789012345678901234567890123456789012345678901234567890abcdef",
  "d": "0x06e5f6789012345678901234"
}'
{
  "pkD": "0x07f6789012345678901234567890123456789012345678901234567890abcdef01",
  "payment_address": "ztron1abcdefghijk123456789..."
}
TRON API method that generates a zen payment address (legacy format) from an incoming viewing key and diversifier. This is the legacy method for creating shielded payment addresses in the older zen protocol implementation.
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

  • ivk — the incoming viewing key in hexadecimal format
  • d — the diversifier in hexadecimal format

Response

  • pkD — the payment address public key component
  • payment_address — the complete shielded payment address

Use case

The wallet/getzenpaymentaddress method is used for:
  • Creating legacy zen payment addresses for compatibility with older systems
  • Generating addresses in the legacy zen protocol format
  • Supporting backwards compatibility in shielded transaction implementations
  • Maintaining compatibility with legacy shielded TRC20 applications

Body

application/json

Response

200 - application/json

Successfully generated shielded payment address

The response is of type object.