Type alias RandomnessRevealResponse

RandomnessRevealResponse: {
    recovery_id: number;
    signature: string;
    value: number[];
}

The response from the gateway after revealing randomness. Variables are snake_case for serialization.

Type declaration

  • recovery_id: number

    Recovery ID of the signature

  • signature: string

    Signature of the randomness using the oracle's enclave key

  • value: number[]

    The randomness value