hirosystems / hirosystems/stacks-blockchain-api

Add average tx fee to blocks

Open
#1,209 0 comments 0 reactions 1 assignee Claimed by @He1DAr View on GitHub
Dominant language
TypeScript
Stars
193
Forks
127
Avg merge
16h 35m
Merged PRs (30d)
46

Description

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:
![image](https://user-images.githubusercontent.com/97111756/173941550-136be692-33f6-40fc-a071-b486ecacfe42.png)
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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.