PyrePYRE

Build

Token API

A public REST API for Pyre token data — launches, prices, holders, candles, rewards, and stats. No key required.

Base URL: https://indexer-production-b7e1.up.railway.app. All monetary values are decimal strings in wei / raw token units; the client applies its own display and USD conversion. The SDK wraps every endpoint with types and bigint conversion — prefer it over raw fetches.

Endpoints

MethodPathReturns
GET/tokensrecent launches (array)
GET/tokens/:addressone token, or 404
GET/tokens/:address/candles?interval=1m|5m|1hOHLCV candles
GET/tokens/:address/holderstop 100 holders
GET/tokens/:address/fee-eventsfee/burn/payout feed
GET/wallets/:wallet/rewardsearned across all tokens
GET/statsglobal $PYRE burn + token count
POST/graphqlfull GraphQL over every table

Token object

json
{
  "address": "0x…",
  "curve": "0x…",
  "name": "Ember",
  "symbol": "EMBER",
  "creator": "0x…",
  "metadataURI": "ipfs://…",
  "createdAt": 1752000000000,       // unix ms
  "preset": 1,
  "buyTaxBps": 100, "sellTaxBps": 100, "curveFeeBps": 100,
  "graduated": false,
  "phase": "curve",                 // curve | readyToGraduate | graduated
  "progressBps": 4200,              // 0..10000 toward graduation
  "weights": { "1": 6000, "4": 4000 },  // moduleId → weightBps
  "targetRaise": "…", "realEth": "…",
  "tokensSold": "…", "totalSupply": "…",
  "lastPriceWei": "…", "lifetimeFees": "…",
  "poolId": null
}

Example

bash
curl https://indexer-production-b7e1.up.railway.app/tokens | jq '.[0]'
curl https://indexer-production-b7e1.up.railway.app/stats

GraphQL

A full GraphQL schema is generated over every indexed table (trades, pots, draws, epochs, vault tranches, and more) at /graphql, with a GraphiQL playground on GET.

Timestamps

Note the units: createdAt, fee-event ts, and reward ts are milliseconds; candle time and holder timestamps are seconds. The SDK normalizes these.

Empty collections until the protocol is live on-chain — see the introduction.