eth_createAccessList
creates an EIP2930 type accessList based on a given transaction.
Last updated
creates an EIP2930 type accessList based on a given transaction.
Last updated
curl https://lb.nodies.app/v1/<INSERT URL> \
-H "x-api-key: <API-KEY>" \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_createAccessList",
"params": [
{
"from": "0x1f9090aaE28b8a3dCeaDf281B0F12828e676c326",
"data": "0x608060806080608155"
},
"pending"
],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"accessList": [
{
"address": "0x56ed5f455c148cc8b217c074f419e1d0f43e1573",
"storageKeys": [
"0x0000000000000000000000000000000000000000000000000000000000000081"
]
}
],
"gasUsed": "0x12e90"
}
}