eth_createAccessList

Generates an access list for a transaction.

⚠ This endpoint is only available with Blast access.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
TransactionobjectRequired
The transaction object for which to generate an access list.
Blockstring or enumOptional

The block number or tag at which to create the access list. Defaults to 'latest' if not provided.

Response

An object containing the access list and gas used for the transaction.
accessListlist of objects or null
The generated access list for the transaction.
errorstring or null
Any error encountered during access list generation.
gasUsedstring or nullformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"
The estimated gas used for the transaction with the access list, as a hexadecimal string.