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— spending key as a 32‑byte (64‑hex) string, no0xprefix.
Response
ask— the authentication secret key componentnsk— the nullifier secret key componentovk— the outgoing viewing key component
Use case
Thewallet/getexpandedspendingkey method is used for:
- Deriving cryptographic components needed for shielded transactions
- Generating keys required for creating shielded TRC20 transfers
- Supporting wallet implementations of the shielded transaction protocol
- Enabling advanced privacy features in TRON applications
curl example
Shell
Ensure the key is exactly 64 hexadecimal characters without a prefix. Including
0x or using the wrong length (for example, 66 hex chars) produces the error: “the length of spendingKey’s hexString should be 64”.Body
application/json
Spending key as a 32‑byte (64‑hex) string without 0x prefix.
Example:
"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"