Appearance
Unlock Amount
POST
/v1/staking/un-stake
Unlock the specified currency. Use earnType in the request body to specify staking (STAKE) or DeFi lending (LEND).
Unlocking may be subject to a cooldown period depending on the currency and earn type.
Authorizations
apiKey
Your API key
Type
API Key (header: X-VALR-API-KEY)
apiSignature
HMAC SHA512 signature of the request (see Authentication section)
Type
API Key (header: X-VALR-SIGNATURE)
apiTimestamp
Request timestamp in milliseconds
Type
API Key (header: X-VALR-TIMESTAMP)
Request Body
application/json
JSON
{
"currencySymbol": "SOL",
"amount": "0.00001",
"earnType": "STAKE"
}
Responses
Amount unlocked successfully