global: big snapshot

This commit is contained in:
nym21
2026-04-26 23:12:17 +02:00
parent 2210443e37
commit 7a0b4b5890
125 changed files with 3833 additions and 3129 deletions

View File

@@ -8897,7 +8897,7 @@ pub struct BrkClient {
impl BrkClient {
/// Client version.
pub const VERSION: &'static str = "v0.3.0-beta.4";
pub const VERSION: &'static str = "v0.3.0-beta.5";
/// Create a new client with the given base URL.
pub fn new(base_url: impl Into<String>) -> Self {
@@ -9847,6 +9847,17 @@ impl BrkClient {
self.base.get_json(&format!("/api/v1/transaction-times"))
}
/// RBF replacement history
///
/// Returns the RBF replacement tree for a transaction, if any. Both `replacements` and `replaces` are null when the tx has no known RBF history within the mempool monitor's retention window.
///
/// *[Mempool.space docs](https://mempool.space/docs/api/rest#get-transaction-rbf-history)*
///
/// Endpoint: `GET /api/v1/tx/{txid}/rbf`
pub fn get_tx_rbf(&self, txid: Txid) -> Result<RbfResponse> {
self.base.get_json(&format!("/api/v1/tx/{txid}/rbf"))
}
/// Validate address
///
/// Validate a Bitcoin address and get information about its type and scriptPubKey. Returns `isvalid: false` with an error message for invalid addresses.