POST
/
95e61622bf6a8af293978377718e3b77
/
wallet
/
getincomingviewingkey
wallet/getincomingviewingkey
curl --request POST \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getincomingviewingkey \
  --header 'Content-Type: application/json' \
  --data '{
  "ak": "0x03b2c3d4e5f6789012345678901234567890123456789012345678901234567890ab",
  "nk": "0x04c3d4e5f6789012345678901234567890123456789012345678901234567890abcd"
}'
{
  "ivk": "0x05d4e5f6789012345678901234567890123456789012345678901234567890abcdef"
}
TRON API method that derives an incoming viewing key (ivk) from authentication key (ak) and nullifier key (nk) for shielded TRC20 transactions. The incoming viewing key is used to scan for incoming shielded payments.
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

  • ak — the authentication key in hexadecimal format
  • nk — the nullifier key in hexadecimal format

Response

  • ivk — the derived incoming viewing key in hexadecimal format

Use case

The wallet/getincomingviewingkey method is used for:
  • Generating keys needed to scan for incoming shielded payments
  • Creating viewing keys that allow monitoring received transactions without spending authority
  • Supporting wallet implementations that need to detect incoming shielded transfers
  • Enabling privacy-preserving transaction monitoring

Body

application/json

Response

200 - application/json

Successfully derived incoming viewing key

The response is of type object.