titan-types 0.1.33

Types for Titan bitcoin and runes indexer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::{Deserialize, Serialize};

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

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