Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
object— the transaction call object:from(optional) — address the transaction is sent fromto— address the transaction is directed togas(optional) — gas provided for the callgasPrice(optional) — gas price for the callvalue(optional) — value sent with the calldata(optional) — hash of the method signature and encoded parameters
quantity|tag— the block number as a hexadecimal string, or block tag (latest,earliest,pending).
Response
result— an object containing:accessList— array of access list entries, each with:address— the address that will be accessedstorageKeys— array of storage keys that will be accessed
gasUsed— the estimated gas used with the access list
eth_createAccessList code examples
Use case
A practical use case foreth_createAccessList is optimizing gas costs for complex smart contract interactions by pre-declaring the state that will be accessed, which reduces the cold access gas penalties introduced in EIP-2929.Body
application/json