Whitechain mainnet is in the docs
We serve Whitechain mainnet on rpc.ankr.com/whitechain over HTTPS, and over WSS for Premium and Enterprise users. Whitechain is an OP Stack Layer 2 with WBT as its gas token. The Whitechain docs now lead with mainnet; the Sepolia testnet stays on rpc.ankr.com/whitechain_testnet.
Docs
- Whitechain mainnet is in the chain list. Whitechain carries the mainnet HTTPS and WSS endpoints and the MetaMask settings (chain ID
1875,WBT), next to the testnet ones. The API reference now runs its 38 examples against mainnet, including fivedebug_trace*and fivetrace_*methods. Every example except theeth_sendRawTransactionplaceholder was run against mainnet, and the response shown is the one it returned.
Worth checking on your side
- The gas token is WBT, not ETH. Balances,
eth_gasPriceand fee estimates are denominated in WBT (18 decimals). Tooling that assumes ETH as the native currency needs the currency set explicitly. debug_*andtrace_*are for Premium and Enterprise. A request without an API key returns-32053.- Filter and txpool methods are blocked, over HTTPS and WSS.
eth_newFilter,eth_newBlockFilter,eth_newPendingTransactionFilter,eth_getFilterChanges,eth_getFilterLogsandeth_uninstallFilterreturn-32075.txpool_*returns-32075with an API key and-32053without one. Useeth_getLogs, oreth_subscribeover WSS. eth_getLogscovers the block range of your plan per call: 1,000 blocks on Public and 10,000 on Premium. With 1 s blocks that is under 17 minutes of history on Public and under 3 hours on Premium; a larger range returns-32062. Page through long ranges.- WSS is for Premium and Enterprise. Connect to
wss://rpc.ankr.com/whitechain/ws/YOUR_ANKR_API_KEY;eth_subscribeworks, for examplenewHeads. See the WebSocket limits. - No RPC method limits, error codes, batch caps or range caps changed on any other chain.