Astar RPC Endpoint
Fast, flat-rate Astar RPC node provider — free tier, no KYC, HTTP & WebSocket.
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.
astarAbout 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.
HTTP Endpoint
https://rpc.swiftnodes.io/rpc/astar?key=YOUR_API_KEYWebSocket Endpoint
wss://rpc.swiftnodes.io/ws/astar?key=YOUR_API_KEYQuick 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
https://rpc.swiftnodes.io/rpc/astar?key=YOUR_API_KEYwss://rpc.swiftnodes.io/ws/astar?key=YOUR_API_KEYBridging 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
- Multiple load-balanced upstream nodes for high availability
- Health-checked every 60 seconds 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
| Plan | Price | HTTP req/s | WS msg/s |
|---|---|---|---|
| Free | $0/mo | 2 | 1 |
| Starter | $49/mo | 50 | 25 |
| Growth | $89/mo | 150 | 75 |
| Scale | $149/mo | 300 | 150 |
| Pro | $249/mo | 500 | 250 |
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.
Ready to start building on Astar? Connect your wallet and get a free API key in 30 seconds. No email or KYC required.