Proofs API

Create and fetch proof records via the Fairseq API.

The Proofs API lets you create proof requests and fetch their metadata.

Create a proof request

POST /api/v1/proofs

Request body:

{
  "transactions": [
    { "hash": "0x...", "timestamp": 1700000000 },
    { "hash": "0x...", "timestamp": 1700000001 }
  ],
  "options": { "orderingRule": "fifo", "metadata": { "source": "sequencer-A" } }
}

Response:

  • Creates a proof record in Supabase with status pending
  • Returns the record metadata (including id)

Get proof details

GET /api/v1/proofs/:id

Returns the stored proof record for the authenticated organization.