Suppose I have a signed hex encoded transaction (as returned by RPC call signrawtransaction), how to get the size, in bytes, for purpuses of calculating if included transaction fee is acceptable by the official client? Can I simply get the size in bytes of the hexadecimal decoded to binary?
Can I simply get the size in bytes of the hexadecimal decoded to binary?
Yes. The hex encodes the raw bytes of the transaction that will be broadcasted throughout the network. Assuming the transaction is fully signed and ready to be broadcasted, the size is the number of bytes, or the length of the string divided by 2.