Skip to content

Getting gasUsed by specific transaction #2112

Answered by ricmoo
nighostchris asked this question in Q&A
Discussion options

You must be logged in to vote

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. :)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@nighostchris
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by nighostchris
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2111 on September 29, 2021 08:38.