eth_createAccessList - Ethereum

eth_createAccessList. Returns list of addresses and storage keys that are read and written by the transaction (except the sender account and precompiles), plus the estimated gas consumed when the access list is added

eth_createAccessList - ethereum [Value: 30CU]
Returns list of addresses and storage keys that are read and written by the transaction (except the sender account and precompiles), plus the estimated gas consumed when the access list is added.
Use cases

Use cases

  • Retrieve specific block details using block hash
  • Verify block transactions and metadata by hash
  • Analyze block data for blockchain consistency checks
Constraints

Constraints

  • Requires valid block hash input
  • Node must be synchronized with blockchain
  • Accurate hash essential for correct block details
Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl --request POST \
     --url https://eth.drpc.org \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "eth_createAccessList",
  "params": [
    {
      "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567",
      "gas": "0x0",
      "gasPrice": "0x9184e72a000",
      "value": "0x0",
      "data": "0x"
    }
  ]
}
'
Copy
Response
200
{
  "id": 0,
  "jsonrpc": "string",
  "result": {
    "id": 1,
    "jsonrpc": "2.0",
    "result": "0x5b3c3f3f5cbf12c9c9d79b97c52b8f26a89e55e1"
  }
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
Parametersarray
array
blockNumberstring
The block number in hexadecimal format or the string latest, earliest, pending, safe or finalized.
transaction_detail_flagboolean
The method returns the full transaction objects when this value is true otherwise, it returns only the hashes of the transactions.

Response

200

Response params

object
idinteger
jsonrpcstring
resultobject
A block object, or null when no block was found. The block object contains the following fields:
object
accessListarray_of_objects
List of objects containing addresses and storage keys
object
addressstring
Address read or written by the transaction
storageKeysstring
List of storage keys used by the transaction
gasUsedstring
Estimated gas consumed when the access list is added.