Spells API Validation

Sprint 030 — SIWE auth, scoped reads, cross-account denial, emergency discovery · Sprint 040 — GMX quote / cast / close + native TP/SL polling

Sprint 040 Demo Flow

  1. Get Sepolia ETH for your wallet — Alchemy faucet link in the Metavault Funding panel below
  2. Connect wallet on Arbitrum Sepolia (chainId 421614)
  3. Sign in with Ethereum (SIWE → JWT scoped to /user/* routes)
  4. Fund metavault: send ~0.005 ETH, then "Mint 10 test USDC" so the smart account has collateral
  5. In Cast Position, click Demo: small LONG or Demo: small SHORT (5 USDC, $10 notional, 30 bps slippage)
  6. Click Request Quote, then Submit Cast — TLM submits a UserOp; the response carries position_id, gmx_order_key, tx_hash
  7. Watch the GMX Positions panel auto-poll: pending_keeper → active (~30–60 s on Sepolia)
  8. Click Close Quote → Submit Close: pending_keeper_close → closed completes the round trip

Worker Status

spells-api
health/deep
health/emergency

1. Wallet Connect

2. SIWE Sign-In

Connect wallet first

Deep Health

Click "Check" above

Emergency Health

Click "Check" above

Execution Log

[--:--:--] Ready. Connect wallet and configure API URL above.