Function getQueryObject

  • Constructor for OracleQuery Object (helper object for using OracleQuery)

    Parameters

    • oracleId: `ok_${string}`

      Oracle public key

    • queryId: `oq_${string}`

      Oracle Query id

    • options: RespondToQueryOptions & {
          interval?: number;
          onNode: Node;
      } & {
          _expectedMineRate?: number;
          _maxPollInterval?: number;
          _microBlockCycle?: number;
      }

      Options

    Returns Promise<GetQueryObjectReturnType>

    OracleQuery object

Generated using TypeDoc