code: def build_script(data):
          
          return bitcoin.core.script.CScript(
              bytes([bitcoin.core.script.OP_RETURN]) + bitcoin.core.script.CScriptOp.encode_op_pushdata(data))
docs: Creates an output script containing an OP_RETURN and a PUSHDATA.
  
          :param bytes data: The content of the PUSHDATA.
          :return: The final script.
          :rtype: CScript