stakewiz-rs
Unofficial Rust client for the Stakewiz API — Solana validator analytics, Wiz Score, epoch info, and more.
Installation
[]
= "0.1"
= { = "1", = ["full"] }
Quick Start
use ;
async
API Coverage
| Category | Endpoint | Method |
|---|---|---|
| Validators | GET /validators |
get_validators() |
GET /validator/{id} |
get_validator() |
|
GET /validator_delinquencies/{id} |
get_validator_delinquencies() |
|
GET /validator_total_stakes/{id} |
get_validator_total_stakes() |
|
GET /validator_epoch_stakes/{id} |
get_validator_epoch_stakes_summary() |
|
GET /validator_stakes/{id} |
get_validator_stakes() |
|
GET /validator_wiz_scores/{id} |
get_validator_wiz_scores() |
|
GET /validator_vote_success/{id} |
get_validator_vote_success() |
|
GET /validator_skip_rate/{id} |
get_validator_skip_rate() |
|
| Cluster | GET /cluster_stats |
get_cluster_stats() |
| Wiz Score | GET /wiz_score |
get_wiz_score_weightings() |
| Epoch | GET /epoch_info |
get_epoch_info() |
GET /epoch_history/{epoch} |
get_epoch_history() |
|
GET /all_epochs_history |
get_all_epochs_history() |
|
| Other | GET /stake_validators_by_withdraw_authority/{pk} |
get_stake_validators_by_withdraw_authority() |
Custom HTTP Client
use Client;
use Duration;
let http = builder
.timeout
.build?;
let client = with_http_client;
License
MIT