Plasma and World Chain are in the docs, for Premium and Enterprise
We serve Plasma mainnet on rpc.ankr.com/plasma and World Chain mainnet on rpc.ankr.com/worldchain, over HTTPS and WSS, to Premium and Enterprise users. Both chains are now in the chain list, each with its own API reference.
Docs
- Plasma is in the chain list. Plasma, an EVM-compatible Layer 1 built for stablecoin payments, carries the HTTPS and WSS endpoints, the MetaMask settings (chain ID
9745,XPL), and the supported and unsupported method lists. The API reference documents 33 methods, includingdebug_traceBlockByHash,debug_traceBlockByNumber,debug_traceBlock,debug_traceTransactionanddebug_traceCall. - World Chain is in the chain list. World Chain, an OP Stack Layer 2, carries the HTTPS and WSS endpoints, the MetaMask settings (chain ID
480,ETH), and the method lists. The API reference documents 31 methods, including the same fivedebug_trace*methods. - Every example on those pages except the
eth_sendRawTransactionplaceholder was run against mainnet, and the response shown is the one it returned.
Worth checking on your side
- Premium and Enterprise only. Neither chain is on the Freemium or Public plans. A request without an API key returns
-32052. - WSS on both chains. Connect to
wss://rpc.ankr.com/plasma/ws/YOUR_ANKR_API_KEYorwss://rpc.ankr.com/worldchain/ws/YOUR_ANKR_API_KEY;eth_subscribeworks, for examplenewHeads. See the WebSocket limits. - World Chain state, receipts and logs cover the last ~100,000 blocks, about 55 hours. Every block and transaction is available, but balances,
eth_call, receipts anddebug_trace*for older blocks return an error ornull, andeth_getLogsover an older range returns an empty array rather than an error. eth_getLogscovers up to 10,000 blocks per call on both chains. A larger range returns-32062.- There is no
trace_*on either chain. Use thedebug_trace*methods withcallTracerfor call traces. The World Chain node also does not implementweb3_clientVersionorweb3_sha3. - Filter methods are blocked.
eth_newFilter,eth_newBlockFilter,eth_newPendingTransactionFilter,eth_getFilterChanges,eth_getFilterLogsandeth_uninstallFilterreturn-32075. Useeth_getLogs, oreth_subscribeover WSS. - No RPC method limits, error codes, batch caps or range caps changed on any other chain.