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

Astar RPC Endpoint and API

Astar

Connect to Astar Network using OnFinality's managed RPC endpoints and dedicated node infrastructure. Astar is the leading smart contract hub on Polkadot, supporting both WASM and EVM environments. Whether you are building a dApp, wallet, DeFi protocol, or analytics tool, OnFinality provides reliable access to the Astar blockchain without the overhead of running your own node.

注册 Free Plan,可将速率提升至 40 req/sec,并获得 API 使用与性能洞察。 立即开始
在 Polkadot JS 中打开

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

快速开始
curl -H 'Content-Type: application/json' -d '{"id":1,"jsonrpc":"2.0","method":"chain_getBlock"}' 'https://astar.api.onfinality.io/public'
curl -H 'Content-Type: application/json' -d '{"id":1,"jsonrpc":"2.0","method":"chain_getBlock"}' 'https://astar.api.onfinality.io/public'
HTTPs
https://astar.api.onfinality.io/public
https://astar.api.onfinality.io/public
Websocket
wss://astar.api.onfinality.io/public-ws
wss://astar.api.onfinality.io/public-ws
Sidecar
https://astar.api.onfinality.io/rest/public/blocks/head
https://astar.api.onfinality.io/rest/public/blocks/head

升级 Growth Plan

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

OnFinality Astar RPC features

  • Substrate JSON-RPC protocol with HTTP and WebSocket transport
  • Archive node support for historical data queries
  • Dedicated nodes for high-throughput workloads
  • Global regions: Hong Kong and N. Virginia
  • Request analytics to monitor usage and errors

附加信息

Build faster with Astar RPC endpoints

Use OnFinality's Astar RPC APIs to connect wallets, dApps, dashboards, bots, and backend services without operating your own node from day one.

Public endpoint testing

Start with the Astar public RPC endpoint for lightweight checks, prototypes, and quick integration tests.

Authenticated API access

Move production traffic to authenticated endpoints when you need clearer limits, analytics, and operational visibility.

Standard RPC methods

Query Astar blocks, transactions, balances, events, and chain state through HTTP and WebSocket workflows.

Operate Astar infrastructure with more control

Production teams need more than an endpoint URL. They need observability, predictable capacity, and a path from shared RPC access to isolated infrastructure.

Request visibility

Track usage patterns and response activity so your team can understand traffic growth before it becomes an incident.

Dedicated node path

Use dedicated Astar nodes when your workload needs isolated resources, custom operations, or stronger capacity planning.

Archive and historical data

Plan for archive access when analytics, audits, indexers, or advanced app features need older Astar state.

Choose the right Astar RPC setup

Different Astar products need different infrastructure. OnFinality gives teams a practical path from public RPC testing to production-grade API and node operations.

For prototypes

Use public RPC for simple reads, connection checks, and early experiments where strict performance guarantees are not required.

For live apps

Use authenticated API endpoints when users depend on stable request handling, monitoring, and scalable access.

For heavy workloads

Use dedicated nodes for sustained traffic, latency-sensitive services, validator tooling, exchange systems, and indexing pipelines.

永远不用担心基础设施

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

开始