Astar RPC Endpoint

Flat-rate Astar RPC provider and Astar RPC node access: free tier, no KYC, HTTP & WebSocket. Astar mainnet chain ID 592.

Astar mainnet RPC URL: https://rpc.swiftnodes.io/rpc/astar?key=YOUR_API_KEY
WebSocket: wss://rpc.swiftnodes.io/ws/astar?key=YOUR_API_KEY

Astar is a smart contract network in the Polkadot ecosystem that exposes an EVM environment alongside WebAssembly (Wasm) contracts. Chain 592 is Astar's EVM endpoint, where ASTR is the native gas token.

Network: Astar
Type: EVM
Chain ID: 592
Slug: astar
Native token: ASTR (Astar)
Block time: ~6 seconds
Finality: Deterministic finality via Polkadot's GRANDPA finality gadget
Mainnet: 2021
Category: Layer 1 (Polkadot parachain, EVM + Wasm)

Astar on the SwiftNodes fleet, right now

Status: online
Latency: 58 ms
Latest block: 15,011,618
WebSocket: available

4 of 12 probed RPC methods supported (archive, eth_getBlockReceipts, eth_feeHistory, eth_getLogs). The gaps are listed per chain in the method support matrix.

Status and latency from our health checks, refreshed about every 5 minutes. Uptime history. Method support probed automatically on 2026-10-04. Network status

Astar developer facts, measured

Block time:
~6.5 s (average of the last 1,000 blocks)
Finality:
the finalized tag trails the head by ~6 blocks (~39 s)
eth_getLogs range:
1,000-block ranges accepted; the next size we test was refused
Historical state:
readable at least 1,000,000 blocks back

Measured 2026-10-04 through this page's endpoint, re-measured weekly. Limits can differ between the upstream nodes behind it. All chains: measured chain facts.

About Astar

Astar operates as a Polkadot parachain, inheriting shared security from the Polkadot relay chain via nominated proof-of-stake. It supports both EVM and WebAssembly smart contracts, letting developers deploy Solidity contracts or Wasm-based contracts on the same network.

ASTR is the native token, used for gas, staking, and Astar's dApp Staking program, which directs rewards to projects building on the network. Standard Ethereum tooling such as Hardhat, Foundry, ethers.js, and viem works against the chain 592 EVM RPC. Astar has separately operated a zkEVM deployment on different infrastructure, but chain 592 refers to the Polkadot-based Astar EVM.

Common Use Cases on Astar

  • EVM smart contract deployment
  • WebAssembly (Wasm) contracts
  • dApp Staking rewards
  • DeFi protocols
  • Cross-chain applications within Polkadot
  • NFT and gaming projects

Astar Ecosystem

Astar's ecosystem includes DeFi protocols such as ArthSwap, along with infrastructure and cross-chain tooling tied into the broader Polkadot network.

Astar Mainnet RPC URL (HTTP)

https://rpc.swiftnodes.io/rpc/astar?key=YOUR_API_KEY

Astar WebSocket RPC URL

wss://rpc.swiftnodes.io/ws/astar?key=YOUR_API_KEY

Quick Start: Connect to Astar

cURL

curl -X POST https://rpc.swiftnodes.io/rpc/astar?key=YOUR_API_KEY \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

ethers.js

import { JsonRpcProvider } from "ethers";

const provider = new JsonRpcProvider(
  "https://rpc.swiftnodes.io/rpc/astar?key=YOUR_API_KEY"
);

const blockNumber = await provider.getBlockNumber();
console.log("Astar block:", blockNumber);

viem

import { createPublicClient, http } from "viem";

const client = createPublicClient({
  transport: http("https://rpc.swiftnodes.io/rpc/astar?key=YOUR_API_KEY"),
});

const blockNumber = await client.getBlockNumber();

web3.py

from web3 import Web3

w3 = Web3(Web3.HTTPProvider("https://rpc.swiftnodes.io/rpc/astar?key=YOUR_API_KEY"))
print("Astar block:", w3.eth.block_number)

Add Astar to MetaMask

Network Name: Astar (SwiftNodes)
RPC URL: https://rpc.swiftnodes.io/rpc/astar?key=YOUR_API_KEY
Chain ID: 592
Currency Symbol: ASTR
WebSocket: wss://rpc.swiftnodes.io/ws/astar?key=YOUR_API_KEY

Bridging to Astar

Astar connects to other Polkadot parachains via XCM, and to Ethereum and other ecosystems through third-party bridges such as Celer cBridge.

Features of SwiftNodes for Astar

  • Load-balanced across multiple upstream nodes wherever a chain has more than one, with automatic failover
  • Health-checked every 2 minutes with automatic failover
  • Free tier available — no credit card or KYC required
  • Flat-rate monthly pricing with no per-request fees
  • HTTP and WebSocket support
  • One API key works across all 75+ supported chains, including Astar

Rate Limits

PlanPriceHTTP req/sWS msg/s
Free$0/mo21
Starter$49/mo5025
Growth$89/mo15075
Scale$149/mo300150
Pro$249/mo500250

Frequently Asked Questions: Astar

What's Astar's chain ID?

Astar's EVM endpoint is chain ID 592.

Does Astar support both EVM and Wasm contracts?

Yes - Astar supports EVM (Solidity) and WebAssembly contracts on the same network.

What secures Astar?

As a Polkadot parachain, Astar inherits shared security from the Polkadot relay chain via nominated proof-of-stake.

Is WebSocket supported?

Yes - SwiftNodes provides HTTP and WebSocket (wss://) endpoints for Astar.

Astar guides from the blog

  • Astar RPC: One Chain, Two VMs, Polkadot SecurityAstar is a Polkadot parachain that runs both EVM and WebAssembly contracts. Chain ID 592 is its EVM endpoint — standard eth_*, so viem/ethers/foundry just work — but underneath it's Substrate with Polkadot's deterministic GRANDPA finality. Here's the developer map: what the EVM RPC gives you, and what the parachain model changes.

Related EVM chains

Explore RPC endpoints for other EVM networks on SwiftNodes:

Ready to start building on Astar? Connect your wallet and get a free API key in 30 seconds. No email or KYC required.