Endpoint
Plans and the seat
GET /api/studio/plansOpen: no accountThe network's plans at their live quotes, and the seat: coming until its quote answers, with each entitlement live or gated.
- Answer
- { plans: [{ id, name, usdc, per, includes, state }], seat: { id, usdc, per, state, entitlements }, buy }
curl
curl -s https://portal.t3rn.io/api/studio/plans
TypeScript
const { plans, seat } = await (await fetch("https://portal.t3rn.io/api/studio/plans")).json();
console.log(plans.map((p) => `${p.id} ${p.usdc} USDC`), seat.state);