POST
/
95e61622bf6a8af293978377718e3b77
/
wallet
/
getakfromask
wallet/getakfromask
curl --request POST \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getakfromask \
  --header 'Content-Type: application/json' \
  --data '{
  "value": "0x02a1b2c3d4e5f6789012345678901234567890123456789012345678901234567890"
}'
{
  "value": "0x03b2c3d4e5f6789012345678901234567890123456789012345678901234567890ab"
}
TRON API method that derives an authentication key (ak) from an authentication secret key (ask) for shielded TRC20 transactions. This is part of the key derivation process in the shielded transaction protocol.
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

  • value — the authentication secret key (ask) in hexadecimal format

Response

  • value — the derived authentication key (ak) in hexadecimal format

Use case

The wallet/getakfromask method is used for:
  • Deriving authentication keys needed for shielded transaction verification
  • Converting secret keys to public key components in the shielded protocol
  • Supporting cryptographic operations in privacy-preserving transactions
  • Enabling wallet implementations of shielded TRC20 functionality

Body

application/json

Response

200 - application/json

Successfully derived authentication key

The response is of type object.