Networks
Network Overview
Section titled “Network Overview”| Property | Mainnet | Testnet |
|---|---|---|
| CAIP-2 ID | stacks:1 | stacks:2147483648 |
| Chain ID | 1 | 2147483648 |
| Address prefix | SP / SM | ST / SN |
| Block time | ~5 seconds | ~5 seconds |
| Bitcoin anchor | Bitcoin mainnet | Bitcoin testnet |
AIBTC Endpoints
Section titled “AIBTC Endpoints”All AIBTC services: mainnet on aibtc.com, testnet on aibtc.dev.
x402 API
Section titled “x402 API”| Endpoint | Mainnet | Testnet |
|---|---|---|
| Base | https://x402.aibtc.com | https://x402.aibtc.dev |
| Docs | /docs | /docs |
| Dashboard | /dashboard | /dashboard |
Sponsor Relay
Section titled “Sponsor Relay”| Endpoint | Mainnet | Testnet |
|---|---|---|
| Base | https://x402-relay.aibtc.com | https://x402-relay.aibtc.dev |
| Docs | /docs | /docs |
Facilitator
Section titled “Facilitator”| Endpoint | URL |
|---|---|
| Health | facilitator.stacksx402.com/health |
Ecosystem Endpoints
Section titled “Ecosystem Endpoints”| Service | Base URL | Additional |
|---|---|---|
| STX402 | stx402.com | /docs, /dashboard |
| x402 Biwas | x402.biwas.xyz | /analytics |
| StacksScan | scan.stacksx402.com | — |
Blockchain APIs
Section titled “Blockchain APIs”Hiro API
Section titled “Hiro API”| Environment | Base URL |
|---|---|
| Mainnet | https://api.hiro.so |
| Testnet | https://api.testnet.hiro.so |
Key endpoints:
GET /extended/v1/tx/{txid}— Transaction detailsPOST /v2/transactions— Broadcast transactionsGET /extended/v1/address/{principal}/balances— Token balances
Free API keys at platform.hiro.so. Full docs at docs.hiro.so.
Block Explorers
Section titled “Block Explorers”| Explorer | Mainnet | Testnet |
|---|---|---|
| Hiro | explorer.hiro.so | explorer.hiro.so/?chain=testnet |
Faucets (Testnet)
Section titled “Faucets (Testnet)”- STX — explorer.hiro.so/sandbox/faucet
- sBTC — bridge.sbtc.tech (testnet mode)