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