Skip to content

Chains and URLs

Willow RPC serves the chains below. The same key is valid on every chain, and every EVM chain serves the same block, transaction, receipt, and log methods. On every chain, each block is verified before it is served (see How Willow verifies data).

  • Log proofs are available on Ethereum, Base, Arbitrum One, OP Mainnet, Unichain, Ink, and Robinhood Chain, and so are the fee methods. Block, transaction, and receipt proofs and block anchors are available on those chains and on BNB Smart Chain, World Chain, Soneium, Zora, Base Sepolia, Arbitrum Sepolia, OP Sepolia, Unichain Sepolia, Ink Sepolia, Robinhood Chain Testnet, Ethereum Sepolia, and Berachain.
  • On Celo, X Layer, Mantle, and Katana, block, transaction, and receipt proofs and block anchors are available for the blocks a claim on Ethereum covers, so their newest blocks can’t be verified independently yet.
  • On Polygon, transactions, receipts, and logs can be verified independently against Polygon’s checkpoints on Ethereum, which cover each block’s transactions and receipts but not its hash, so Polygon’s blocks, block hashes, and state can’t be.
  • On Monad, HyperEVM, Linea, Plasma, opBNB, Arc, ApeChain, and Monad Testnet, Willow’s servers verify each block before serving it, but independent verification isn’t supported yet. HyperEVM’s blocks can’t be proven from public data.
  • Stellar is served with stellar-rpc’s read methods, at a name instead of a chain ID: https://api.willow.tech/v1/rpc/stellar/{YOUR_KEY}. willow_getLedgerProof returns its ledgers, transactions, and Soroban events with the proof that anchors them on SCP, the consensus of Stellar’s validators. getLedgerEntries, simulateTransaction, sendTransaction, and getFeeStats are refused.
  • State methods, eth_call included, are available on those chains and on BNB Smart Chain, World Chain, and Soneium; eth_estimateGas on all of them except Base and BNB Smart Chain; and the trace methods on Ethereum and Unichain.

The chain ID (for Stellar, its name) is part of the URL.

ChainChain IDEndpoint
Ethereum1https://api.willow.tech/v1/rpc/1/{YOUR_KEY}
Base8453https://api.willow.tech/v1/rpc/8453/{YOUR_KEY}
Arbitrum One42161https://api.willow.tech/v1/rpc/42161/{YOUR_KEY}
OP Mainnet10https://api.willow.tech/v1/rpc/10/{YOUR_KEY}
Unichain130https://api.willow.tech/v1/rpc/130/{YOUR_KEY}
Ink57073https://api.willow.tech/v1/rpc/57073/{YOUR_KEY}
Robinhood Chain4663https://api.willow.tech/v1/rpc/4663/{YOUR_KEY}
BNB Smart Chain56https://api.willow.tech/v1/rpc/56/{YOUR_KEY}
World Chain480https://api.willow.tech/v1/rpc/480/{YOUR_KEY}
Soneium1868https://api.willow.tech/v1/rpc/1868/{YOUR_KEY}
Zora7777777https://api.willow.tech/v1/rpc/7777777/{YOUR_KEY}
Base Sepolia84532https://api.willow.tech/v1/rpc/84532/{YOUR_KEY}
Arbitrum Sepolia421614https://api.willow.tech/v1/rpc/421614/{YOUR_KEY}
OP Sepolia11155420https://api.willow.tech/v1/rpc/11155420/{YOUR_KEY}
Unichain Sepolia1301https://api.willow.tech/v1/rpc/1301/{YOUR_KEY}
Ink Sepolia763373https://api.willow.tech/v1/rpc/763373/{YOUR_KEY}
Robinhood Chain Testnet46630https://api.willow.tech/v1/rpc/46630/{YOUR_KEY}
Polygon137https://api.willow.tech/v1/rpc/137/{YOUR_KEY}
Monad143https://api.willow.tech/v1/rpc/143/{YOUR_KEY}
HyperEVM999https://api.willow.tech/v1/rpc/999/{YOUR_KEY}
Celo42220https://api.willow.tech/v1/rpc/42220/{YOUR_KEY}
Linea59144https://api.willow.tech/v1/rpc/59144/{YOUR_KEY}
Mantle5000https://api.willow.tech/v1/rpc/5000/{YOUR_KEY}
Plasma9745https://api.willow.tech/v1/rpc/9745/{YOUR_KEY}
Berachain80094https://api.willow.tech/v1/rpc/80094/{YOUR_KEY}
opBNB204https://api.willow.tech/v1/rpc/204/{YOUR_KEY}
Katana747474https://api.willow.tech/v1/rpc/747474/{YOUR_KEY}
X Layer196https://api.willow.tech/v1/rpc/196/{YOUR_KEY}
Arc5042https://api.willow.tech/v1/rpc/5042/{YOUR_KEY}
ApeChain33139https://api.willow.tech/v1/rpc/33139/{YOUR_KEY}
Monad Testnet10143https://api.willow.tech/v1/rpc/10143/{YOUR_KEY}
Ethereum Sepolia11155111https://api.willow.tech/v1/rpc/11155111/{YOUR_KEY}
Stellarstellarhttps://api.willow.tech/v1/rpc/stellar/{YOUR_KEY}

GET https://api.willow.tech/v1/rpc/chains returns the served chains as JSON. It requires no key, and its responses may be cached for five minutes (Cache-Control: public, max-age=300). The list is read from the chains the RPC serves, so a chain is listed exactly when requests for it are served. Each entry’s id is the chain ID used in the endpoint URL.

Terminal window
curl -s https://api.willow.tech/v1/rpc/chains

Response:

{
"chains": [
{ "id": 1, "name": "Ethereum" },
{ "id": 10, "name": "OP Mainnet" },
{ "id": 56, "name": "BNB Smart Chain" },
{ "id": 130, "name": "Unichain" },
{ "id": 137, "name": "Polygon" },
{ "id": 143, "name": "Monad" },
{ "id": 196, "name": "X Layer" },
{ "id": 204, "name": "opBNB" },
{ "id": 480, "name": "World Chain" },
{ "id": 999, "name": "HyperEVM" },
{ "id": 1301, "name": "Unichain Sepolia" },
{ "id": 1868, "name": "Soneium" },
{ "id": 4663, "name": "Robinhood Chain" },
{ "id": 5000, "name": "Mantle" },
{ "id": 5042, "name": "Arc" },
{ "id": 8453, "name": "Base" },
{ "id": 9745, "name": "Plasma" },
{ "id": 10143, "name": "Monad Testnet" },
{ "id": 33139, "name": "ApeChain" },
{ "id": 42161, "name": "Arbitrum One" },
{ "id": 42220, "name": "Celo" },
{ "id": 46630, "name": "Robinhood Chain Testnet" },
{ "id": 57073, "name": "Ink" },
{ "id": 59144, "name": "Linea" },
{ "id": 80094, "name": "Berachain" },
{ "id": 84532, "name": "Base Sepolia" },
{ "id": 421614, "name": "Arbitrum Sepolia" },
{ "id": 747474, "name": "Katana" },
{ "id": 763373, "name": "Ink Sepolia" },
{ "id": 7777777, "name": "Zora" },
{ "id": 11155111, "name": "Ethereum Sepolia" },
{ "id": 11155420, "name": "OP Sepolia" },
{ "id": "stellar", "name": "Stellar" }
]
}

In the path. The key is the final segment of the URL:

POST https://api.willow.tech/v1/rpc/{chainId}/{YOUR_KEY}

In a header. The key is omitted from the path and sent as Authorization: Bearer {YOUR_KEY} or X-API-Key: {YOUR_KEY}:

POST https://api.willow.tech/v1/rpc/{chainId}
Authorization: Bearer {YOUR_KEY}

Both forms are accepted on every chain and are metered identically. Guidance on choosing between them is in API keys.

  • Requests are JSON-RPC 2.0, sent as an HTTP POST with Content-Type: application/json. Single requests and batches of up to 100 are accepted.
  • Send Accept-Encoding: gzip. Responses are metered by their size as sent, gzipped when the request accepts gzip (see Units and pricing), and some proof responses are large.
  • CORS is enabled, so browsers can call the endpoint from any origin. Keys should nonetheless be kept on a server or restricted to specific origins (see API keys).

A request for a chain ID that Willow does not serve is refused:

{"error":{"code":-32000,"message":"chain 99999 not found: no blocks of it are served here"},"id":1,"jsonrpc":"2.0"}

eth_blockNumber and the latest tag track the head of each chain. When a chain is healthy, its newest block is a few seconds old. If a chain’s newest stored block becomes older than 15 of its block times, and at least 10 seconds (10 seconds on BNB Smart Chain, Robinhood Chain, Arbitrum One, Base Sepolia, Arbitrum Sepolia, and Robinhood Chain Testnet; 15 on Unichain, Ink, Unichain Sepolia, and Ink Sepolia; 30 on Base, OP Mainnet, World Chain, Soneium, Zora, and OP Sepolia; and 180 on Ethereum), requests for latest are refused with -32000 instead of returning a stale block, which allows a router to fail over to another provider. The current status of every chain is published at /v1/rpc/health.