curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getspendingkey \
--header 'Content-Type: application/json' \
--data '{}'
{
"value": "0x02a1b2c3d4e5f6789012345678901234567890123456789012345678901234567890"
}
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getspendingkey \
--header 'Content-Type: application/json' \
--data '{}'
{
"value": "0x02a1b2c3d4e5f6789012345678901234567890123456789012345678901234567890"
}
value
— the generated spending key as a hexadecimal stringwallet/getspendingkey
method is essential for:
Successfully generated spending key
The response is of type object
.
Was this page helpful?