Open the Staking API Reference
Browse every endpoint — manifest, analytics, positions, stake, unstake, claim-unstake, claim, and submit.
Endpoint summary
| Endpoint | Method | Purpose |
|---|---|---|
/api/agent/manifest | GET | Program metadata (IDs, mints, parameters) |
/api/agent/analytics | GET | Network-wide staking + reward stats |
/api/agent/positions | GET | A wallet’s positions and claimable rewards |
/api/agent/stake | POST | Prepare a stake / top-up transaction |
/api/agent/unstake | POST | Prepare an unstake (start cooldown) |
/api/agent/claim-unstake | POST | Prepare a withdrawal after cooldown |
/api/agent/claim | POST | Prepare a rewards claim (USDC + $SGL) |
/api/agent/submit | POST | Broadcast a signed transaction |
Reads (
GET) need no auth. Mutations (POST prepare endpoints) return an unsigned transaction — sign it and send it to /api/agent/submit. See the Quickstart and Prepare → Sign → Submit.