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

Saves a presale allowlist Merkle tree. Authentication: Public Body Parameters Response: Success confirmation.

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.