Closed timothyylim closed 5 years ago
Example SegWit tx: cffed1ef0398ede623770179bcfef12302a1f0bd8a519911c699fd899353d286
Blockstream.info shows a size of 438 vB and 600 B and a feerate of 200.8 sat/vB (87800sat/438vB)
The api shows "size":600
.
Thus or feerate calculation is wrong. To calculate the vbyte we can use weight / 4
which the api provides.
Hitting the api only returns the size and not the vsize. Both are shown when visiting the actual site:
https://blockstream.info/tx/c1c0e78d69cb302a784661aa3f2d86c81e18be63414f1999be3c464fd7d10169