0
I have decoded my raw transaction using decoderawtransaction, I got these value
"size" => 259
"vsize" => 259
is that block size ? if it does, is that byte or killo byte ? I want to calculate miners fee based of block size
0
I have decoded my raw transaction using decoderawtransaction, I got these value
"size" => 259
"vsize" => 259
is that block size ? if it does, is that byte or killo byte ? I want to calculate miners fee based of block size
You probably want to calculate fees on transaction size, not block size. And size is the value you use as a basis, if you have non-segwit transaction. If segwit, use vsize and verify the underlying logic (quick search here in the forum!) – pebwindkraft – 2018-03-09T07:57:48.633
possible duplicate of https://bitcoin.stackexchange.com/q/53623/5406
– Murch – 2018-10-01T23:00:23.393