code: async function getQueryObject (oracleId, queryId) {
    return {
      ...(await this.getOracleQuery(oracleId, queryId)),
      respond: (response, options) => this.respondToQuery(oracleId, queryId, response, options),
      pollForResponse: ({ attempts, interval }) => this.pollForQueryResponse(oracleId, queryId, { attempts, interval }),
      decode: (data) => decodeBase64Check(data.slice(3))
    }
  }
docs: Constructor for OracleQuery Object (helper object for using OracleQuery)
  @alias module:@aeternity/aepp-sdk/es/ae/oracle
  @instance
  @function
  @category async
  @param {String} oracleId Oracle public key
  @param {String} queryId Oracle Query id
  @return {Promise<Object>} OracleQuery object