Getting gasUsed by specific transaction #2112
-
Currently I am trying to extract all the transactions' details from a specific block.
Is there any convenient way that can achieve my purpose ? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The |
Beta Was this translation helpful? Give feedback.
-
It is the only way I know of. Depending on the scope of your project, you could investigate syncing a local Geth node and extracting the data from the raw leveldb blocs on disk. Keep in mind if you are using INFURA or Alchemy, this will gobble up your API key request limit pretty quickly. Hope this helps. :) |
Beta Was this translation helpful? Give feedback.
It is the only way I know of.
Depending on the scope of your project, you could investigate syncing a local Geth node and extracting the data from the raw leveldb blocs on disk.
Keep in mind if you are using INFURA or Alchemy, this will gobble up your API key request limit pretty quickly.
Hope this helps. :)