subsquid / squid-sdk

The main repo of the squid SDK
Apache License 2.0
1.23k stars 151 forks source link

Add l1 transaction fields to mapping schema #254

Closed belopash closed 1 month ago

belopash commented 8 months ago

Example request

curl -X POST -H 'content-type: application/json' https://base-pokt.nodies.app --data '{"jsonrpc":"2.0","method":"eth_getTransactionReceipt","params":["0x976b21569a29f64e0957632c5452cd13634bbbf40fce63bcab2bea5b7b9faea1"],"id":1}'

...
    "l1Fee": "0x5696c2a22213",
    "l1FeeScalar": "0.684",
    "l1GasPrice": "0x9edc4a75c",
    "l1GasUsed": "0xcc0",
...
tmcgroul commented 1 month ago

implemented here - https://github.com/subsquid/squid-sdk/commit/f2ee3ed9655dba82968c867bc69c1f17662a1b64