pybit/py3/block.py
def to_dict_full(self) -> dict:
        """Return transaction as dict.

        Convert transaction to dict, get (for now) first input and first output
        only.

        Combines transction meta data and TxIn and TxOut.
        """
        # Convert transction to dict
        tr = self.to_dict(keys=['hash', 'version',
                                'nInputs', 'nOutputs',
                                'lockTime'])

        # Convert first txIn to dict
        txI = self.txIn[0].to_dict(keys=['prevOutput', 'prevIndex',
                                         'scriptLength', 'sequence',
                                         'scriptSig'])

        # Convert first txOut to dict
        txO = self.txOut[0].to_dict(keys=['value', 'pkScriptLen',
                                          'pkScript', 'outputAddr'])

        # Combine in to single dict
        tr.update(txI)
        tr.update(txO)

        return tr
Return transaction as dict.

        Convert transaction to dict, get (for now) first input and first output
        only.

        Combines transction meta data and TxIn and TxOut.
        
Return transaction as dict.
Convert transaction to dict, get (for now) first input and first output
only.

Combines transction meta data and TxIn and TxOut.
Return transaction as dict . Convert transaction to dict get ( for now ) first input and first output only . Combines transction meta data and TxIn and TxOut .
def to_dict_full(self) -> dict:
        tr = self.to_dict(keys=['hash', 'version',
                                'nInputs', 'nOutputs',
                                'lockTime'])
        txI = self.txIn[0].to_dict(keys=['prevOutput', 'prevIndex',
                                         'scriptLength', 'sequence',
                                         'scriptSig'])
        txO = self.txOut[0].to_dict(keys=['value', 'pkScriptLen',
                                          'pkScript', 'outputAddr'])
        tr.update(txI)
        tr.update(txO)
        return tr
def to_dict_full ( self ) -> dict : tr = self . to_dict ( keys = [ 'hash' , 'version' , 'nInputs' , 'nOutputs' , 'lockTime' ] ) txI = self . txIn [ 0 ] . to_dict ( keys = [ 'prevOutput' , 'prevIndex' , 'scriptLength' , 'sequence' , 'scriptSig' ] ) txO = self . txOut [ 0 ] . to_dict ( keys = [ 'value' , 'pkScriptLen' , 'pkScript' , 'outputAddr' ] ) tr . update ( txI ) tr . update ( txO ) return tr
Return transaction as dict.
Return transaction as dict .
"""Return transaction as dict.

        Convert transaction to dict, get (for now) first input and first output
        only.

        Combines transction meta data and TxIn and TxOut.
        """ # Convert transction to dict # Convert first txIn to dict # Convert first txOut to dict # Combine in to single dict
self