titan_types/stats.rs
1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Serialize, Deserialize)]
4pub struct BlockTip {
5 pub height: u64,
6 pub hash: String,
7 pub is_at_tip: bool,
8}
9
10#[derive(Debug, Serialize, Deserialize)]
11pub struct Status {
12 pub block_tip: BlockTip,
13 pub runes_count: u64,
14 pub mempool_tx_count: u64,
15}