Show transaction execution cost
It would be really helpful to show a transaction's execution cost on the tx page. Because these costs are somewhat arbitrary numbers, it would probably be helpful to show them in the context of the block budget (ie % used).
For your reference, here are the block limits for mainnet
write_length: 15_000_000,
write_count: 15_000,
read_length: 100_000_000,
read_count: 15_000,
runtime: 5_000_000_000,
Related to https://github.com/stx-labs/explorer/issues/894
Please see screenshots attached and let me know what you think.
@andres I don’t think a block fullness visualization makes sense here, the percentages are usually so small (correct me if I'm wrong!) that the visualization wouldn’t be meaningful or noticeable.
Figma: https://www.figma.com/design/gsgfw9WmMbETBEC4FbY2H9/Stacks-Explorer--Redesign-?node-id=9448-18536&t=KaABUqCsnDZpFrL8-1
Screenshots:
I think this looks great!