stacks-blockchain-api
stacks-blockchain-api copied to clipboard
Add average tx fee to blocks
Hello team!
I'm working on a new feature to add historical blocks information to tx page, we need to display the previous average fee for these blocks:
Currently, this is only possible through fetching txs for each block and iterating over them on the client, which requires multiple requests. A solution would be to add a new attribute
average_fee
to block response.