tx from bytestring