Logo
新用户订阅 RPC,首月享 6.5 折优惠查看优惠
Avalanche logo

Avalanche RPC 端点与 API

Blazingly Fast, Low Cost, and Eco-Friendly.

Ava Labs

Avalanche is a high-performance Layer 1 blockchain platform known for its sub-second finality, low transaction fees, and eco-friendly consensus mechanism. It features a multi-chain architecture with three built-in blockchains: the Exchange Chain (X-Chain) for asset transfers, the Platform Chain (P-Chain) for validator coordination and subnet management, and the Contract Chain (C-Chain) which is fully EVM-compatible for smart contracts. This design enables developers to build scalable dApps, DeFi protocols, and custom subnets while benefiting from Avalanche's speed and security.

注册免费计划,可将速率提升至 40 req/s,并获得 API 使用量与性能洞察。 立即开始

公共接口速率限制为 5 req/sec

快速开始
curl -H 'Content-Type: application/json' -d '{"id":1,"jsonrpc":"2.0","method":"platform.getHeight"}' 'https://avalanche.api.onfinality.io/public/ext/bc/P'
curl -H 'Content-Type: application/json' -d '{"id":1,"jsonrpc":"2.0","method":"platform.getHeight"}' 'https://avalanche.api.onfinality.io/public/ext/bc/P'
HTTPs
https://avalanche.api.onfinality.io/public/ext/bc/P
https://avalanche.api.onfinality.io/public/ext/bc/P
WebSocket
https://avalanche.api.onfinality.io/public/ext/bc/P
https://avalanche.api.onfinality.io/public/ext/bc/P

升级 Growth Plan

  • 高性能
  • 强大的 RPC 分析
  • 最高 500 rps
  • 无每日响应限制
  • 优先支持
  • 去中心化服务器
立即开始

OnFinality Avalanche RPC features

  • Observability: Request analytics and usage visibility
  • Scalability: Path from shared API endpoints to higher-capacity plans

附加信息

使用 Avalanche RPC 端点更快构建

使用 OnFinality 的 Avalanche RPC API 连接钱包、dApp、仪表盘、机器人和后端服务,无需从第一天起自行运行节点。

公共端点测试

使用 Avalanche 公共 RPC 端点完成轻量检查、原型和快速集成测试。

已认证 API 访问

当需要清晰的限制、分析和运维可见性时,将生产流量迁移到已认证端点。

标准 RPC 方法

通过 HTTP y WebSocket 工作流查询 Avalanche 区块、交易、余额、事件和链上状态。

更可控地运行 Avalanche 基础设施

生产团队需要的不只是端点 URL,还需要可观测性、可预测容量,以及从共享 RPC 访问升级到隔离基础设施的路径。

请求可见性

跟踪使用模式和响应活动,在流量增长演变成事故前了解系统变化。

专属节点路径

当工作负载需要隔离资源、自定义运维或更强容量规划时,使用 Avalanche 专属节点。

归档与历史数据

当分析、审计、索引器或高级应用功能需要较早的 Avalanche 状态时,规划归档访问。

选择合适的 Avalanche RPC 方案

不同的 Avalanche 产品需要不同的基础设施。OnFinality 为团队提供从公共 RPC 测试到生产级 API 和节点运维的清晰路径。

原型项目

对于简单读取、连接检查和早期实验,在不需要严格性能保证时使用公共 RPC。

线上应用

当用户依赖稳定请求处理、监控和可扩展访问时,使用已认证 API 端点。

重型工作负载

对于持续流量、低延迟服务、验证者工具、交易系统和索引管道,使用专属节点。

永远不用担心基础设施

OnFinality 消除了 DevOps 的繁重工作,让您能够更聪明、更快地构建。

开始