brk_server 0.3.0-beta.8

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

use brk_types::{Addr, Txid};

/// Bitcoin address + last-seen txid path parameters (Esplora-style pagination)
#[derive(Deserialize, JsonSchema)]
pub struct AddrAfterTxidParam {
    #[serde(rename = "address")]
    pub addr: Addr,

    /// Last txid from the previous page (return transactions strictly older than this)
    pub after_txid: Txid,
}