pybit/py3/block.py
def prep_header(self) -> bytes:
        """Return transaction header bytes.

        Only works for single input and output transactions for now
        """
        header = self._version \
            + self._nInputs \
            + self.txIn[0]._prevOutput \
            + self.txIn[0]._prevIndex \
            + self.txIn[0]._scriptLength \
            + self.txIn[0]._scriptSig \
            + self.txIn[0]._sequence \
            + self._nOutputs \
            + self.txOut[0]._value \
            + self.txOut[0]._pkScriptLen \
            + self.txOut[0]._pkScript \
            + self._lockTime

        return header
Return transaction header bytes.

        Only works for single input and output transactions for now
        
Return transaction header bytes.
Only works for single input and output transactions for now
Return transaction header bytes . Only works for single input and output transactions for now
def prep_header(self) -> bytes:
        header = self._version \
            + self._nInputs \
            + self.txIn[0]._prevOutput \
            + self.txIn[0]._prevIndex \
            + self.txIn[0]._scriptLength \
            + self.txIn[0]._scriptSig \
            + self.txIn[0]._sequence \
            + self._nOutputs \
            + self.txOut[0]._value \
            + self.txOut[0]._pkScriptLen \
            + self.txOut[0]._pkScript \
            + self._lockTime
        return header
def prep_header ( self ) -> bytes : header = self . _version + self . _nInputs + self . txIn [ 0 ] . _prevOutput + self . txIn [ 0 ] . _prevIndex + self . txIn [ 0 ] . _scriptLength + self . txIn [ 0 ] . _scriptSig + self . txIn [ 0 ] . _sequence + self . _nOutputs + self . txOut [ 0 ] . _value + self . txOut [ 0 ] . _pkScriptLen + self . txOut [ 0 ] . _pkScript + self . _lockTime return header
Return transaction header bytes.
Return transaction header bytes .
"""Return transaction header bytes.

        Only works for single input and output transactions for now
        """
self