explorer icon indicating copy to clipboard operation
explorer copied to clipboard

Display of Stacks transaction size in bytes

Open cryptopanter opened this issue 2 years ago • 6 comments

I think it would be nice if we have Stacks tx size item on explorer like all Bitcoin block explorers. This can easily give users and devs idea of how much size they are dealing with in the network and how much in bytes both Stacks block and its transactions inside occupy. More transparent, more insightful, more inspiring!

cryptopanter avatar Sep 28 '21 12:09 cryptopanter

Thanks for the suggestion!

markmhendrickson avatar Sep 28 '21 12:09 markmhendrickson

Byte size is only 1 of the 5 dimensions of the tx and block size.

friedger avatar Sep 28 '21 12:09 friedger

Byte size is only 1 of the 5 dimensions of the tx and block size.

Yes and a minimum info we should get on the explorer display

cryptopanter avatar Oct 19 '21 08:10 cryptopanter

Hi all, trying to resurrect this as I believe it is a great feature!

albydeca avatar Apr 27 '22 11:04 albydeca

@rafaelcr do we have this information on the API?

andresgalante avatar Aug 09 '22 13:08 andresgalante

@andresgalante we do 👍 For example, you can find keys for execution_cost_read_length and execution_cost_write_length here: https://stacks-node-api.mainnet.stacks.co/extended/v1/tx/0x0153a41ed24a0e1d32f66ea98338df09f942571ca66359e28bdca79ccd0305cf

rafaelcr avatar Aug 09 '22 14:08 rafaelcr

This is a good first issue but it'll need design help to be ready to execute

andresgalante avatar Jun 19 '23 22:06 andresgalante

Byte size is supposed to be shown on https://stxmempool.com The other dimensions are more interesting I think.

friedger avatar Jun 20 '23 06:06 friedger

https://github.com/stxmempool/stxmempool

friedger avatar Jun 20 '23 06:06 friedger

Byte size is a good idea. Thanks.

chresko avatar Jul 28 '23 13:07 chresko

I disagree, byte size is not really relevant for stacks.

friedger avatar Jul 28 '23 20:07 friedger