1

I need to retrieve the gas fee for transactions on the current Solana blockchain. Can you recommend a method or tool that I can use to get this data?

1 Answer 1

0

If you want to get transaction fees paid by transactions, you can fetch all transactions with getBlock and then look for meta.fee in each returned transaction.

More information at https://solana.com/docs/rpc/http/getblock#result

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.