def xdr(self):
        """Packs and base64 encodes this :class:`Transaction` as an XDR
        string.

        """
        tx = Xdr.StellarXDRPacker()
        tx.pack_Transaction(self.to_xdr_object())
        return base64.b64encode(tx.get_buffer())
def xdr ( self ) : tx = Xdr . StellarXDRPacker ( ) tx . pack_Transaction ( self . to_xdr_object ( ) ) return base64 . b64encode ( tx . get_buffer ( ) )
Packs and base64 encodes this :class:`Transaction` as an XDR
        string.