Summary
Implement an endpoint that returns the current cooldown state for a wallet/key pair, including time remaining, so the client can enforce trading restrictions accurately.
Scope
- GET /keys/:keyId/cooldown?wallet= — returns active flag, expires_at, seconds_remaining
- Cooldown state indexed from last trade event per wallet per key
- Cooldown policy (duration) returned alongside status
- Batch endpoint GET /cooldowns?wallet=&keys= for portfolio page
- Cache per wallet/key pair with TTL equal to cooldown duration
Acceptance Criteria
ETA
12 hours
Summary
Implement an endpoint that returns the current cooldown state for a wallet/key pair, including time remaining, so the client can enforce trading restrictions accurately.
Scope
Acceptance Criteria
ETA
12 hours