Docs
Build on CHEERED.
Everything you need to launch coins programmatically, query vault balances, or build an integration. Read-only endpoints are open; writes need a wallet.
Launch endpoint
Build the Pump.fun create-token transaction with CHEERED's creator-fee split pre-filled.
POST /api/launch{ "handle": "xqc", "ticker": "CHEER", "name": "XQC cheer", "initial_gift": 25 }
// returns{ "tx": "base64-encoded-partial-tx", "mint": "7fZ4...pump", "vault": "4NPM...YsF3E" }
Query a vault
Get the pending balance for a Twitch handle. The vault is a Solana PDA derived from the handle hash.
GET /api/vault?handle=xqc{ "handle": "xqc", "vault": "4NPM...YsF3E", "pending_sol": 0, "pending_subs": 0, "last_claim": null, "claimed_total": 0 }
Twitch lookup
Server-side proxy to the public Twitch stats API. 60-second edge cache.
GET /api/twitch?login=xqc{ "exists": true, "login": "xqc", "displayName": "xQc", "avatar": "https://static-cdn.jtvnw.net/...", "followers": 13000000, "live": true, "viewers": 42000 }
Protocol constants
creator_fee = 0.9%payout_unit = twitch_sub_t1bracket = 25 subs / SOLchain = solana_mainnetvault_program = CHRdxxx...xxxpump_program = 6EF8...zAEh