AILayer RPC Endpoint

Flat-rate AILayer RPC provider and AILayer RPC node access: free tier, no KYC, HTTP. AILayer mainnet chain ID 2649.

AILayer mainnet RPC URL: https://rpc.swiftnodes.io/rpc/ailayer?key=YOUR_API_KEY

Get your free AILayer API key

250,000 requests/month · 20 req/s · all chains · no card · no KYC

Get my free API key →

AILayer brings Ethereum JSON-RPC and Solidity contracts to Bitcoin-aligned assets, with BTC used as the native gas asset. The network exposes chain ID 2649, so standard EVM wallets, indexers and libraries can connect without a custom transport.

Network: AILayer
Type: EVM
Chain ID: 2649
Slug: ailayer
Native token: BTC (Bitcoin)
Category: Bitcoin-aligned EVM network

AILayer on the SwiftNodes fleet, right now

Status: online
Latency: 164 ms
Latest block: 27,394,005
WebSocket: not available
Uptime, last 30 days: 100.00%

Status and latency from our health checks, refreshed about every 5 minutes. Uptime history. Network status

About AILayer

AILayer is part of the BTCfi ecosystem: it combines an EVM execution environment with a Bitcoin-denominated gas asset. That makes it familiar to Ethereum developers while giving applications direct exposure to BTC-denominated fees and assets.

The network exposes the standard Ethereum JSON-RPC surface, so eth_call, eth_getBalance, eth_getLogs and contract deployment work with the usual tooling. Check the network's bridge and finality documentation before moving assets across chains.

Common Use Cases on AILayer

  • BTC-denominated EVM applications
  • BTCfi and cross-chain asset apps
  • Wallets and indexers reading AILayer state
  • Solidity contracts using standard Ethereum tooling

AILayer Ecosystem

AILayer sits in the broader Bitcoin DeFi and BTCfi ecosystem, where EVM tooling is used to build around Bitcoin-denominated assets.

AILayer Mainnet RPC URL (HTTP)

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

AILayer WebSocket RPC URL

Not available for AILayer right now: none of its upstreams currently accepts a subscription in our health checks. Poll the HTTP endpoint above instead.

Quick Start: Connect to AILayer

cURL

curl -X POST https://rpc.swiftnodes.io/rpc/ailayer?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/ailayer?key=YOUR_API_KEY"
);

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

viem

import { createPublicClient, http } from "viem";

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

const blockNumber = await client.getBlockNumber();

web3.py

from web3 import Web3

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

Add AILayer to MetaMask

Network Name: AILayer (SwiftNodes)
RPC URL: https://rpc.swiftnodes.io/rpc/ailayer?key=YOUR_API_KEY
Chain ID: 2649
Currency Symbol: BTC

Get your free AILayer API key

30 seconds, no card, no KYC. Sign in with Google, GitHub, email or a wallet. Or try the requests above now with key=demo.

Get a free key →

Bridging to AILayer

Move assets through the bridges supported by the AILayer ecosystem and verify the destination chain's finality and bridge limits before transferring funds.

Features of SwiftNodes for AILayer

  • 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 support (WebSocket not available for this chain right now)
  • One API key works across all 131 supported chains and their testnets, including AILayer

Rate Limits

PlanPriceHTTP req/sWS msg/sSign up
Free$0/mo201Start free →
Starter$49/mo7025Choose Starter →
Growth$89/mo15075Choose Growth →
Scale$149/mo300150Choose Scale →
Pro$249/mo600250Choose Pro →

Frequently Asked Questions: AILayer

What is the AILayer chain ID?

AILayer mainnet uses chain ID 2649 (0xa59).

What is the gas token on AILayer?

BTC. The EVM representation uses 18 decimals.

Is AILayer EVM-compatible?

Yes. Standard Ethereum JSON-RPC methods and Solidity contracts work on AILayer; use chain ID 2649 with the standard EVM tooling.

What is the AILayer RPC endpoint?

Use https://rpc.swiftnodes.io/rpc/ailayer?key=YOUR_API_KEY. The public upstream is https://mainnet-rpc.ailayer.xyz.

Related EVM chains

Explore RPC endpoints for other EVM networks on SwiftNodes:

Ready to start building on AILayer? Get a free API key in 30 seconds. No KYC, no card: sign in with Google, GitHub, email or a wallet.