Taiko WebSocket RPC
Stream Taiko data in real time over a WebSocket connection — new blocks, pending transactions, and contract events — instead of polling. Every SwiftNodes plan includes a Taiko WebSocket endpoint alongside HTTP, with flat-rate pricing and no KYC.
Endpoint
wss://rpc.swiftnodes.io/ws/taiko?key=YOUR_API_KEYThe HTTP endpoint for Taiko is https://rpc.swiftnodes.io/rpc/taiko?key=YOUR_API_KEY. One API key works for both, and across all 75+ supported chains.
Subscribe to Taiko in real time
import { createPublicClient, webSocket } from "viem";
const client = createPublicClient({
transport: webSocket("wss://rpc.swiftnodes.io/ws/taiko?key=YOUR_API_KEY"),
});
// Stream new Taiko blocks as they're produced (~~12 seconds (aligned with Ethereum slots) apart)
const unwatch = client.watchBlocks({
onBlock: (block) => console.log("new block", block.number),
});What you can subscribe to
- New block headers (newHeads) — react the moment a block lands
- Pending transactions (newPendingTransactions) — watch the mempool
- Contract event logs (logs) — filter by address and topics
Taiko is an Based zk-Rollup (Type-1 zkEVM), with ~~12 seconds (aligned with Ethereum slots) block times and soft: ~12s. hard (l1): ~10 minutes (zk proof submission) finality. That cadence sets how frequently new-block subscriptions fire.
Frequently asked questions
Does SwiftNodes support Taiko WebSocket?
Yes. Every Taiko plan includes a WebSocket (wss://) endpoint alongside HTTP, with no separate add-on. Connect to wss://rpc.swiftnodes.io/ws/taiko?key=<key> and open subscriptions immediately.
What is the Taiko WebSocket URL?
wss://rpc.swiftnodes.io/ws/taiko?key=YOUR_API_KEY — replace YOUR_API_KEY with the key from your dashboard. The matching HTTP endpoint is https://rpc.swiftnodes.io/rpc/taiko?key=YOUR_API_KEY.
Is there a message rate limit on the WebSocket?
Yes — WebSocket throughput scales with your plan (1 msg/s on Free up to 250 msg/s on Pro), with concurrent-connection limits per plan. Within those limits, subscriptions stream in real time.
See the full Taiko RPC page for chain details, or the WebSocket docs for the complete method list.
Get a Taiko endpoint free
HTTP + WebSocket, flat-rate, pay with crypto, no KYC. Live in 30 seconds.
Get your API key