brk_server 0.3.0-beta.2

A server with an API for anything from BRK
Documentation
1
2
3
4
5
6
7
8
9
10
use schemars::JsonSchema;
use serde::Deserialize;

/// Block count path parameter
#[derive(Deserialize, JsonSchema)]
pub struct BlockCountParam {
    /// Number of recent blocks to include
    #[schemars(example = 100)]
    pub block_count: usize,
}