Quicknode gives you high-performance access to the Optimism blockchain through HTTP and WebSocket (WSS) endpoints. These endpoints are designed for reliability, speed, and real-time data delivery, and provide the foundation for building scalable Web3 applications.
HTTP 端點
Quicknode HTTP 端點提供穩健的 JSON-RPC API 存取功能,具備多種效能層級及針對不同應用程式需求所設計的優化功能。
https://your-endpoint.quiknode.pro/auth-token/最適合:
- Web3 應用程式的後端與 API
- 智慧合約的部署與互動
- 區塊鏈資料查詢與分析
- 開發與測試環境
WebSocket (WSS) 端點
Quicknode WebSocket 端點透過針對不同使用情境與效能需求所優化的持久連線,提供即時區塊鏈資料串流服務。
wss://your-endpoint.quiknode.pro/auth-token/最適合:
- 需要即時價格饋送的 DeFi 應用程式
- 區塊鏈瀏覽器與分析儀表板
- 交易監控與確認追蹤
- 智慧合約事件監聽
WebSocket (WSS) 限制
WebSocket 回應設有特定上限,且該上限可能有所變動。若回應可能較大,建議使用 POST 請求。若回應大小超過上限,將顯示對應的錯誤代碼 -32616。
信用使用狀況
Different methods consume different amounts of credits: View Optimism API credit costs →
Flat Rate RPS
Flat Rate RPS is a billing option that provides predictable monthly costs for Optimism endpoints. Instead of metering individual requests and charging with API Credits, you pay a fixed monthly fee based on your configured request capacity. Your bill stays the same each month regardless of actual usage.
You can check the Flat Rate RPS documentation to learn more.
速率限制
速率限制因方案等級而異:查看詳細定價與限制 →