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": "0xac77483de5c6363db08ce0665ffad8673116ab90",
"storageKeys": ["0x0000000000000000000000000000000000000000000000000000000000000081"]
}
],
"gasUsed": "0x12e92"
}
}