P
peck/docsv0.1 · preview
Reference/headers.peck.to
LiveVM-hosted

headers.peck.to

Block-header CDN for global SPV verification.

What it is

Serves BSV block headers in JSON and 80-byte binary. `GET /v2/tip.bin` is a fast sync primitive; `GET /v2/headers.bin?height=N&count=M` hands out bulk headers for BUMP/BEEF verification. Used by peck-indexer-go to assemble BEEF, and by light clients (including bsv-browser and peck-mobile) that don't want to run a full node.

When to use it

You're doing SPV verification or building BEEF transactions and need block headers without a node.

Clients that wrap it

Most apps talk to this service through one of these packages rather than hitting the HTTP surface directly.

  • @bsv/sdk (BlockHeadersService)

See all clients & SDKs →

Deployment

Repo: chaintracks-server · Framework: express · Protocol: Pulse / REST

Endpoints

21 routes scanned from source.

MethodPathSource
GET/getChainsrc/v1-routes.ts:36
GET/getInfosrc/v1-routes.ts:45
GET/getPresentHeightsrc/v1-routes.ts:56
GET/findChainTipHashHexsrc/v1-routes.ts:67
GET/findChainTipHeaderHexsrc/v1-routes.ts:81
GET/findHeaderHexForHeightsrc/v1-routes.ts:95
GET/findHeaderHexForBlockHashsrc/v1-routes.ts:120
GET/getHeaderssrc/v1-routes.ts:146
POST/addHeaderHexsrc/v1-routes.ts:190
GET/getFiatExchangeRatessrc/v1-routes.ts:214
GET/src/server.ts:233
GET/robots.txtsrc/server.ts:238
GET/networksrc/v2-routes.ts:49
GET/tipsrc/v2-routes.ts:59
GET/header/height/:heightsrc/v2-routes.ts:73
GET/header/hash/:hashsrc/v2-routes.ts:98
GET/headerssrc/v2-routes.ts:124
GET/tip.binsrc/v2-routes.ts:161
GET/header/height/:height.binsrc/v2-routes.ts:177
GET/header/hash/:hash.binsrc/v2-routes.ts:205
GET/headers.binsrc/v2-routes.ts:233