Saturn2022Docs

Reference

Public endpoints

Two endpoints are public and need no key. The blocks below are the response objects themselves, printed by this page.

GET/api/health

Liveness and identity: which chain, what is deployed, and the current stage.

{
  "status": "ok",
  "name": "Saturn2022",
  "network": "Robinhood Chain",
  "chainId": 4663,
  "stage": "pre-launch",
  "version": "0.2.0",
  "deployments": {
    "house": "0xea09f07D7F6FBc61E83e342aB586Ed2147f2d63d",
    "lens": "0x87A7593659E08b02098d4c3D8F3c236D0414dA81",
    "markets": 17,
    "explorer": "https://robinhoodchain.blockscout.com/address/0xea09f07D7F6FBc61E83e342aB586Ed2147f2d63d"
  },
  "token": {
    "status": "pre-launch"
  }
}

GET/api/token

Token state, answered explicitly rather than by a 404 a reader has to interpret.

{
  "status": "pre-launch"
}

GETa quote

There is no endpoint for this, on purpose. A quote is a view function on the lens, so anyone can ask the chain for it directly and nobody has to trust a server in the middle. Contracts has the exact call.