Products Overview
Products Overview
The PirateCrew Blockchain API ships eight product surfaces. Each one is a /v2/<resource> namespace with its own CRUD shape, lifecycle, and webhook events. Rather than browsing alphabetically, pick by goal.
By goal
| If you want to… | Use | Read |
|---|---|---|
| Mint a fresh SPL token | /v2/tokens | Tokens |
| Launch a token on a bonding curve | /v2/pools | Pools |
| Claim or split partner fees | /v2/pools/{address}/fee-claims | Fees |
| Swap tokens via Jupiter | /v2/swaps, /v2/swap-quotes | Swap |
| Distribute tokens to many wallets | /v2/airdrops, /v2/merkle-trees | Airdrops |
| Mint, hold, or burn an NFT | /v2/nfts | NFTs |
| Stake an NFT for rewards | /v2/stakes | Staking |
| Lock GOLD for veGOLD | /v2/gold-locks | GOLD |
By role in a typical launch
A token launch on PirateCrew touches multiple products in sequence. Here's the canonical order:
- Tokens — mint SPL + Metaplex metadata in one transaction.
- Pools — create a Meteora DBC pool quoted in GOLD; the pool migrates to DAMM v2 once it hits its market-cap target.
- Fees — once volume flows, claim DBC partner fees (or DAMM v2 fees post-migration) and atomically split across creators, KOLs, and treasury.
- Airdrops — distribute a chunk of supply to a snapshot of holders via a keccak-256 merkle tree.
- Staking + NFTs + GOLD — engagement loops (mint a crew NFT, stake it, lock GOLD for veGOLD).
If this is your first read, the Create and launch a token recipe walks the first three end-to-end with copy-pasteable curl.
What every product shares
All write endpoints follow the same patterns. Read these once and they apply everywhere:
- Transaction Modes —
unsigned(client signs) vssigned(server signs via Privy). Per-endpoint mode support is documented on each product page. - Idempotency — every write takes an
Idempotency-Keyheader; retries return the original response. - Resource lifecycles — every long-lived resource exposes an explicit
statusfield, and every transition fires a webhook. - Scopes & Permissions —
mode: "signed"requires a scope on the API key. User-signed-only endpoints (stake, claim, mint NFT, lock gold) rejectmode: "signed"regardless of scope.
Where the schemas live
Every product page describes the shape of its requests at a conceptual level. For the exhaustive field list and validation rules, the source of truth is the OpenAPI document:
- Human-readable:
/v2/docs - Machine-readable:
/v2/openapi.json