Documentation Index
Fetch the complete documentation index at: https://docs.myaza.co/llms.txt
Use this file to discover all available pages before exploring further.
This endpoint supports both API key (X-API-Key header) and Bearer token (Authorization: Bearer <JWT>) authentication.
Private key of the staking wallet
Partial amount to unstake. Omit to unstake everything.
curl -X POST https://secureapi.gridlog.io/api/v1/staking/unstake \
-H "Authorization: Bearer YOUR_JWT_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"stakeId": "stake_123...",
"chain": "solana",
"fromPrivateKey": "YOUR_PRIVATE_KEY",
"amountToUnstake": "50.0"
}'
{
"id": "stake_123...",
"status": "unstaking",
"unstakedAmount": "50.0",
"penalty": "2.5",
"netAmount": "47.5"
}
Amount deducted as early withdrawal penalty. "0" if lock period has passed.
Amount available to withdraw after penalty
If unstaking before lockedUntil, the penaltyPercent from the plan is
applied to the unstaked amount.