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!) Mar 9 '18 at 7:57
  • possible duplicate of bitcoin.stackexchange.com/q/53623/5406
    – Murch
    Oct 1 '18 at 23:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.