Decane RPC
Live on Base. Create an RPC key (the “RPC only” preset) on your project’s API keys page in the dashboard. More chains are switched on as they go live.
Standard Ethereum JSON-RPC from your Decane account. Create an RPC key in a project and the URL alone configures viem, ethers, wagmi, MetaMask, Hardhat or Foundry. No SDK is needed.
POST https://backend.decane.app/rpc/v1/{chainId}/{key}Use it
import { createPublicClient, http } from "viem";
import { base } from "viem/chains";
const client = createPublicClient({
chain: base,
transport: http("https://backend.decane.app/rpc/v1/8453/dck_rpc_…"),
});
// ethers
const provider = new JsonRpcProvider("https://backend.decane.app/rpc/v1/8453/dck_rpc_…");curl https://backend.decane.app/rpc/v1/8453/dck_rpc_… \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'Plans and limits
| Plan | Throughput | How to get it |
|---|---|---|
| Free | 20 requests a second | Create a key |
| Builder Club | 200 requests a second | Apply from the dashboard; free while in early access |
- The limit belongs to the account (the project owner), shared by all its projects and keys.
- A batch holds up to 10 calls and counts one request per call.
- Over the limit the answer is HTTP 429 with
Retry-After: 1and JSON-RPC error-32005. Refused calls are not billed. eth_getLogscovers at most 10,000 blocks per call; wider ranges are refused with-32602.- Request bodies up to 1 MB (blob transactions are not served); answers over 10 MB are refused with a message to narrow the call.
- Up to 10 live keys per project. Keys are shown once and stored hashed.
Methods
The everyday reads and writes: eth_call, eth_estimateGas, eth_getBalance, eth_getCode, eth_getTransactionCount, eth_getStorageAt, eth_getLogs, eth_getProof, blocks, receipts and transactions by hash or number, eth_getBlockReceipts, the fee methods (eth_gasPrice, eth_maxPriorityFeePerGas, eth_feeHistory, eth_blobBaseFee), eth_createAccessList, eth_sendRawTransaction, eth_chainId, net_version and web3_clientVersion.
Not served: anything that signs with a node’s keys (eth_sign, eth_sendTransaction, personal_*), debug and trace, filters and subscriptions, and WebSockets. A batch with a method that is not served is refused whole.
Errors
| HTTP | JSON-RPC | Meaning |
|---|---|---|
| 400 | -32700 | The body is not JSON |
| 400 | -32600 / -32601 / -32602 | Not a valid request, a method that is not served, or bad params (including an eth_getLogs range over 10,000 blocks) |
| 401 | -32003 | Unknown or revoked key |
| 404 | -32004 | The chain is not served |
| 413 | -32600 | Body over 1 MB |
| 429 | -32005 | Over the plan’s requests per second |
| 503 | -32603 / -32005 | Upstream unavailable, or busy; retry shortly |
Usage is counted per key, chain, method and day and shown in the dashboard within about a minute. Billing will be per request; the price is not set yet.