Networks and testnet
chainId | Money | |
|---|---|---|
| BSC mainnet | 56 | real |
| BSC testnet | 97 | free, from the faucet |
GET /api/v1/settings says which network the API is on, and gives every contract address. Read it at start; never hard-code an address or a fee.
Every transaction the API builds carries its chainId. A wallet on the wrong network will refuse it, which is the point.
Start every integration on testnet. Every example in these docs runs there before each release.