curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getspendingkey \
--header 'Content-Type: application/json' \
--data '{}'{
"value": "02a1b2c3d4e5f67890123456789012345678901234567890123456789012345678"
}curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getspendingkey \
--header 'Content-Type: application/json' \
--data '{}'{
"value": "02a1b2c3d4e5f67890123456789012345678901234567890123456789012345678"
}value — the generated spending key as a hexadecimal stringwallet/getspendingkey method is essential for:
The body is of type object.
Successfully generated spending key
The generated spending key in hexadecimal format (64 hex characters, no 0x prefix)
"02a1b2c3d4e5f67890123456789012345678901234567890123456789012345678"
Was this page helpful?