Skip to main content
Endpoints for listing presales, managing allowlists, and generating Merkle proofs.

GET /api/presales

Search and list presales with filters and pagination. Authentication: Public Query Parameters Response: Paginated presale list.

GET /api/presales/allowlists

Returns the allowlist for a presale. Authentication: Public Query Parameters Response: Merkle root and allocations.

POST /api/presales/allowlists

Deprecated: Presales are closed. The route answers 410 and saves nothing.
Saved a presale allowlist Merkle tree. Closed. Authentication: Public Body Parameters Response: Always HTTP 410.

GET /api/presales/allowlists/proof

Returns a Merkle proof for a buyer in a presale allowlist. Authentication: Public Query Parameters Response: Proof and allowed amount, or rejection.

GET /api/presales/refresh

Enqueues a presale for re-indexing by transaction hash. Authentication: Public Query Parameters Response: Confirmation that the presale was enqueued.
Answers 400 for a hidden or unsupported chain, 503 with Retry-After: 5 when the node does not have the transaction yet or could not read it, and 429 after 10 requests a minute from one IP address. Over a limit: 429 with Retry-After (seconds) and { "error", "code": "rate_limited", "retryAfter" }.