hypersync_net_types/
response.rs1use hypersync_format::Hash;
2use serde::{Deserialize, Serialize};
3
4#[derive(Clone, Copy, Deserialize, Serialize, Debug)]
5pub struct ArchiveHeight {
6 pub height: Option<u64>,
7}
8
9#[derive(Clone, Copy, Deserialize, Serialize, Debug)]
10pub struct ChainId {
11 pub chain_id: u64,
12}
13
14#[derive(Debug, Clone, Serialize)]
16pub struct RollbackGuard {
17 pub block_number: u64,
19 pub timestamp: i64,
21 pub hash: Hash,
23 pub first_block_number: u64,
25 pub first_parent_hash: Hash,
27}