Decentralized Oracle Health Metrics

Implementation Details

Class Names

Model Name
Parameters Class
Data Class

DecentralizedOracleHealthMetrics

OracleHealthQueryParams

OracleHealthData

Import Statement

pythonCopyEditfrom satoshi_terminal.models.decentralized_oracle_health_metrics import (
    DecentralizedOracleHealthMetrics,
    OracleHealthQueryParams,
    OracleHealthData,
)

Parameters

Name
Type
Description
Default
Optional

oracle_name

Union[str, List[str]]

Name(s) of decentralized oracles to monitor (e.g., Chainlink, Band Protocol).

None

False

health_metric_type

str

Specific health metrics to analyze (e.g., "Uptime," "Response Time").

None

True

time_horizon

int

Time window (in hours) for tracking oracle health metrics.

24

True


Data

Name
Type
Description

oracle_name

str

Name of the oracle analyzed.

uptime_percentage

float

Percentage of time the oracle was operational.

average_response_time

float

Average response time for data retrieval (in milliseconds).

anomaly_flags

int

Number of anomalies detected during the time horizon.

timestamp

datetime

Timestamp of the oracle health analysis.


Key Features

  • Uptime Monitoring: Tracks operational reliability of decentralized oracles.

  • Performance Metrics: Measures response times and identifies latency issues.

  • Anomaly Detection: Flags unusual behavior or downtime that may impact oracle reliability.

Last updated