| Crates.io | rust-mempool |
| lib.rs | rust-mempool |
| version | 0.0.5 |
| created_at | 2025-02-14 07:39:13.668409+00 |
| updated_at | 2025-05-07 07:18:01.736984+00 |
| description | A Rust Bindings for the Mempool API |
| homepage | |
| repository | https://github.com/0xdavid7/rust-mempool |
| max_upload_size | |
| id | 1555376 |
| size | 66,205 |
⚠️: The library is under development, it is still missing a lot of features that will come soon. ⚠️
An ergonomic, Mempool API Client for Rust.
[dependencies]
tokio = { version = "1.0", features = ["full"] }
rust-mempool = "0.1"
And then the code:
use rust_mempool::MempoolClient;
#[tokio::main]
async fn main() {
let client = MempoolClient::new(Network::Bitcoin);
let utxos = client
.get_address_utxo("1KFHE7w8BhaENAswwryaoccDb6qcT6DbYY")
.await
.unwrap();
println!("{:?}", utxos);
}
Licensed under MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)