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_getLedgerProofreturns its ledgers, transactions, and Soroban events with the proof that anchors them on SCP, the consensus of Stellar’s validators.getLedgerEntries,simulateTransaction,sendTransaction, andgetFeeStatsare refused. - State methods,
eth_callincluded, are available on those chains and on BNB Smart Chain, World Chain, and Soneium;eth_estimateGason 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.
| Chain | Chain ID | Endpoint |
|---|---|---|
| Ethereum | 1 | https://api.willow.tech/v1/rpc/1/{YOUR_KEY} |
| Base | 8453 | https://api.willow.tech/v1/rpc/8453/{YOUR_KEY} |
| Arbitrum One | 42161 | https://api.willow.tech/v1/rpc/42161/{YOUR_KEY} |
| OP Mainnet | 10 | https://api.willow.tech/v1/rpc/10/{YOUR_KEY} |
| Unichain | 130 | https://api.willow.tech/v1/rpc/130/{YOUR_KEY} |
| Ink | 57073 | https://api.willow.tech/v1/rpc/57073/{YOUR_KEY} |
| Robinhood Chain | 4663 | https://api.willow.tech/v1/rpc/4663/{YOUR_KEY} |
| BNB Smart Chain | 56 | https://api.willow.tech/v1/rpc/56/{YOUR_KEY} |
| World Chain | 480 | https://api.willow.tech/v1/rpc/480/{YOUR_KEY} |
| Soneium | 1868 | https://api.willow.tech/v1/rpc/1868/{YOUR_KEY} |
| Zora | 7777777 | https://api.willow.tech/v1/rpc/7777777/{YOUR_KEY} |
| Base Sepolia | 84532 | https://api.willow.tech/v1/rpc/84532/{YOUR_KEY} |
| Arbitrum Sepolia | 421614 | https://api.willow.tech/v1/rpc/421614/{YOUR_KEY} |
| OP Sepolia | 11155420 | https://api.willow.tech/v1/rpc/11155420/{YOUR_KEY} |
| Unichain Sepolia | 1301 | https://api.willow.tech/v1/rpc/1301/{YOUR_KEY} |
| Ink Sepolia | 763373 | https://api.willow.tech/v1/rpc/763373/{YOUR_KEY} |
| Robinhood Chain Testnet | 46630 | https://api.willow.tech/v1/rpc/46630/{YOUR_KEY} |
| Polygon | 137 | https://api.willow.tech/v1/rpc/137/{YOUR_KEY} |
| Monad | 143 | https://api.willow.tech/v1/rpc/143/{YOUR_KEY} |
| HyperEVM | 999 | https://api.willow.tech/v1/rpc/999/{YOUR_KEY} |
| Celo | 42220 | https://api.willow.tech/v1/rpc/42220/{YOUR_KEY} |
| Linea | 59144 | https://api.willow.tech/v1/rpc/59144/{YOUR_KEY} |
| Mantle | 5000 | https://api.willow.tech/v1/rpc/5000/{YOUR_KEY} |
| Plasma | 9745 | https://api.willow.tech/v1/rpc/9745/{YOUR_KEY} |
| Berachain | 80094 | https://api.willow.tech/v1/rpc/80094/{YOUR_KEY} |
| opBNB | 204 | https://api.willow.tech/v1/rpc/204/{YOUR_KEY} |
| Katana | 747474 | https://api.willow.tech/v1/rpc/747474/{YOUR_KEY} |
| X Layer | 196 | https://api.willow.tech/v1/rpc/196/{YOUR_KEY} |
| Arc | 5042 | https://api.willow.tech/v1/rpc/5042/{YOUR_KEY} |
| ApeChain | 33139 | https://api.willow.tech/v1/rpc/33139/{YOUR_KEY} |
| Monad Testnet | 10143 | https://api.willow.tech/v1/rpc/10143/{YOUR_KEY} |
| Ethereum Sepolia | 11155111 | https://api.willow.tech/v1/rpc/11155111/{YOUR_KEY} |
| Stellar | stellar | https://api.willow.tech/v1/rpc/stellar/{YOUR_KEY} |
Chain list
Section titled “Chain list”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.
curl -s https://api.willow.tech/v1/rpc/chainsResponse:
{ "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" } ]}Authentication
Section titled “Authentication”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
Section titled “Requests”- Requests are JSON-RPC 2.0, sent as an HTTP
POSTwithContent-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"}Freshness
Section titled “Freshness”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.