eth_createAccessList RPC Method
Parameters
transaction
object
Loading...
from
string
Loading...
to
string
REQUIRED
Loading...
gas
integer
Loading...
gasPrice
integer
Loading...
maxPriorityFeePerGas
integer
Loading...
maxFeePerGas
integer
Loading...
value
integer
Loading...
data
string
Loading...
blockNumber
string
REQUIRED
Loading...
Returns
accessList
array
Loading...
address
string
Loading...
storageKeys
array
Loading...
gasUsed
string
Loading...
error
string
Loading...
Request
1curl -X POST "https://docs-demo.fluent-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "eth_createAccessList",6"params": [7{8"to": "0x0000000000000000000000000000000000000001",9"data": "0x"10},11"latest"12],13"id": 114}'
1curl -X POST "https://docs-demo.fluent-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "eth_createAccessList",6"params": [7{8"to": "0x0000000000000000000000000000000000000001",9"data": "0x"10},11"latest"12],13"id": 114}'
Response
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"accessList": [],6"gasUsed": "0x5208"7}8}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"accessList": [],6"gasUsed": "0x5208"7}8}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free