explorer icon indicating copy to clipboard operation
explorer copied to clipboard

Show transaction execution cost

Open hstove-stacks opened this issue 2 months ago • 4 comments

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,

hstove-stacks avatar Oct 30 '25 14:10 hstove-stacks

EXP-163

linear[bot] avatar Oct 30 '25 14:10 linear[bot]

Related to https://github.com/stx-labs/explorer/issues/894

andresgalante-stacks avatar Oct 30 '25 18:10 andresgalante-stacks

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:

Image Image

ginny-stacks avatar Nov 05 '25 13:11 ginny-stacks

I think this looks great!

hstove-stacks avatar Nov 12 '25 14:11 hstove-stacks