This page is non-prescriptive — these are observed patterns, not blessed recipes. Use them as starting points.Documentation Index
Fetch the complete documentation index at: https://docs.lumina-org.com/llms.txt
Use this file to discover all available pages before exploring further.
1. Hedge a long position
You hold $50k in BTC and want to floor downside in case of a flash crash.triggerProbBps for that
product). If the flash crash happens within 24h, you receive a bond worth
~80% of the cover (payoutRatioBps).
2. Compounding
Every time a bond matures, redeem and immediately rotate into a new policy:3. Marketplace sniping
Watch the listings feed; buy bonds priced below face value with short maturity:4. Insurance-as-a-service for downstream bots
If you’re running a fleet of trading bots, mint one Lumina API key per bot and have the bot insure each position it opens. The audit trail is per-bot because each bot’s wallet is a distinct buyer.What NOT to do
- Don’t poll
/healthmore than once per process boot. Cache the addresses; they don’t change between deploys. - Don’t omit
Idempotency-Keyon retries. If you retry without it and the previous attempt succeeded silently, you’ll buy two policies and pay two premiums. - Don’t trust webhook payloads without verifying
X-Lumina-Signature. Anyone who knows your URL could otherwise spoof events.