FeedEvalResponse: {
    failure_error: string;
    feed_hash: string;
    msg: string;
    oracle_pubkey: string;
    oracle_signing_pubkey: string;
    queue_pubkey: string;
    recent_hash: string;
    recent_successes_if_failed: FeedEvalResponse[];
    recovery_id: number;
    signature: string;
    success_value: string;
    timestamp?: number;
}

The response from the gateway after fetching signatures. Variables are snake_case for serialization.

Type declaration

  • failure_error: string

    Errors encountered while fetching feed value

  • feed_hash: string

    Hex encoded feed id

  • msg: string

    Signed message of the result and blockhash

  • oracle_pubkey: string

    Hex encoded oracle pubkey

  • oracle_signing_pubkey: string

    Hex encoded oracle signing pubkey

  • queue_pubkey: string

    Hex encoded queue pubkey

  • recent_hash: string

    Hex encoded blockhash/slothash the response was signed with.

  • recent_successes_if_failed: FeedEvalResponse[]

    If the feed fetch failed, get other recent successes

  • recovery_id: number
  • signature: string

    Oracle signature of the result and blockhash

    Sha256(success_feed_hashes || results || slothash)

  • success_value: string

    Feed values derived

  • Optional timestamp?: number

    Timestamp marking when the result was fetched