titan_types/
stats.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize)]
pub struct BlockTip {
    pub height: u64,
    pub hash: String,
}

#[derive(Debug, Serialize, Deserialize)]
pub struct Status {
    pub block_tip: BlockTip,
    pub runes_count: u64,
    pub mempool_tx_count: u64,
}