iota/transaction/base.py
def as_tryte_string(self):
        # type: () -> TransactionTrytes
        """
        Returns a TryteString representation of the transaction.
        """
        return TransactionTrytes(
            self.signature_message_fragment
            + self.address.address
            + self.value_as_trytes
            + self.legacy_tag
            + self.timestamp_as_trytes
            + self.current_index_as_trytes
            + self.last_index_as_trytes
            + self.bundle_hash
            + self.trunk_transaction_hash
            + self.branch_transaction_hash
            + self.tag
            + self.attachment_timestamp_as_trytes
            + self.attachment_timestamp_lower_bound_as_trytes
            + self.attachment_timestamp_upper_bound_as_trytes
            + self.nonce
        )
def as_tryte_string(self):
        # type: () -> TransactionTrytes
        """
        Returns a TryteString representation of the transaction.
        """
        return TransactionTrytes(
            self.signature_message_fragment
            + self.address.address
            + self.value_as_trytes
            + self.legacy_tag
            + self.timestamp_as_trytes
            + self.current_index_as_trytes
            + self.last_index_as_trytes
            + self.bundle_hash
            + self.trunk_transaction_hash
            + self.branch_transaction_hash
            + self.tag
            + self.attachment_timestamp_as_trytes
            + self.attachment_timestamp_lower_bound_as_trytes
            + self.attachment_timestamp_upper_bound_as_trytes
            + self.nonce
        )
Returns a TryteString representation of the transaction.