eth_createAccessList on Sonic
Simulates a transaction and returns the access list (addresses and storage keys it touches), which can lower gas costs on EIP-2930 transactions.
Pre-computing the access list discounts first-touch storage/address costs — worth it for gas-sensitive, storage-heavy txs. The response also returns a gasUsed figure you can cross-check against eth_estimateGas.
Sonic endpoint (public — no key)
https://rpc.nodeflare.app/sonic/publicMethod
eth_createAccessList
Cost
5 CU
Chain ID
146
Block time
~1 s
Finality
~1 s (aBFT, irreversible)
Contract calls on Sonic
Standard EVM semantics on sonicd's custom database layer. Instant finality means an eth_call right after a receipt reflects final state — no reorg caveats.
Parameters
[callObject, blockNumber|tag]cURL
curl https://rpc.nodeflare.app/sonic/public \
-X POST \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","method":"eth_createAccessList","params":[{"to": "0x0000000000000000000000000000000000000000", "data": "0x"}, "latest"],"id":1}'ethers.js
import { ethers } from 'ethers';
const provider = new ethers.JsonRpcProvider(
'https://rpc.nodeflare.app/sonic/public'
);
const result = await provider.send('eth_createAccessList', [{"to": "0x0000000000000000000000000000000000000000", "data": "0x"}, "latest"]);Try it live
Runs the example above against the public Sonic endpoint — straight from your browser.
eth_createAccessList on Sonic — FAQ
How do I call eth_createAccessList on Sonic?
POST a JSON-RPC 2.0 request with "method": "eth_createAccessList" to NodeFlare's Sonic endpoint at https://rpc.nodeflare.app/sonic/public. No API key is required for the public endpoint.
What does eth_createAccessList cost on the free tier?
eth_createAccessList is weighted at 5 compute units per call. The free tier includes 2,000,000 CU/month, so that is roughly 400,000 eth_createAccessList calls per month — no credit card.
Is eth_createAccessList available on the public Sonic endpoint?
Yes. eth_createAccessList works on the public Sonic endpoint (https://rpc.nodeflare.app/sonic/public) with no API key, rate-limited per IP. A free key adds higher limits and a dedicated path.
Anything Sonic-specific to know when using eth_createAccessList?
Standard EVM semantics on sonicd's custom database layer. Instant finality means an eth_call right after a receipt reflects final state — no reorg caveats.
Call eth_createAccessList on Sonic with a free key
2,000,000 compute units/month, heavy methods unlocked, every chain included. No credit card.
Get your free API key →eth_createAccessList on other chains