Staging Transaction Size

I’m having trouble finding a clear answer on this, from my testing it appears to find the size of a tx, you can generate a signed tx file and the actual tx is half that size…is that correct?

e.g. tx.signed = 30kb, transaction size will be 15kb?

Yes, the actual tx is approximately half of the file size. If you want to better estimate the size of a transaction, open the file as text, count the number of hex digits, and divide by two.

There’s probably a constant overhead in the text envelope, so there should be a simple formula to calculate tx size from envelope size.

1 Like

Perfect, this is what I was looking for. Thank you @bwbush !

1 Like