{"id":21829710,"url":"https://github.com/0xtlt/mempool_rust","last_synced_at":"2025-04-14T06:09:19.060Z","repository":{"id":65191036,"uuid":"586827359","full_name":"0xtlt/mempool_rust","owner":"0xtlt","description":"Mempool (Bitcoin) rust client","archived":false,"fork":false,"pushed_at":"2023-01-09T17:26:51.000Z","size":6,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T13:52:44.774Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0xtlt.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2023-01-09T10:24:21.000Z","updated_at":"2025-03-05T20:51:41.000Z","dependencies_parsed_at":"2023-02-08T13:16:06.410Z","dependency_job_id":null,"html_url":"https://github.com/0xtlt/mempool_rust","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xtlt%2Fmempool_rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xtlt%2Fmempool_rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xtlt%2Fmempool_rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xtlt%2Fmempool_rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xtlt","download_url":"https://codeload.github.com/0xtlt/mempool_rust/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248589980,"owners_count":21129721,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-27T18:28:51.846Z","updated_at":"2025-04-14T06:09:19.038Z","avatar_url":"https://github.com/0xtlt.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mempool_rust\n\n⚠️: The library is under development, it is still missing a lot of features that will come soon. ⚠️\n\n[![crates.io](https://img.shields.io/crates/v/mempool_rust.svg)](https://crates.io/crates/mempool_rust)\n[![Documentation](https://docs.rs/mempool_rust/badge.svg)](https://docs.rs/mempool_rust)\n[![MIT/Apache-2 licensed](https://img.shields.io/crates/l/mempool_rust.svg)](./LICENSE.txt)\n[![CI](https://github.com/0xtlt/mempool_rust/actions/workflows/checks.yml/badge.svg)](https://github.com/0xtlt/mempool_rust/actions/workflows/checks.yml)\n[![Issues](https://img.shields.io/github/issues/0xtlt/mempool_rust)](https://img.shields.io/github/issues/0xtlt/mempool_rust)\n\nAn ergonomic, [Mempool](https://mempool.space/) API Client for Rust.\n\n- [Changelog](CHANGELOG.md)\n\n## Example\n\n```toml\n[dependencies]\ntokio = { version = \"1.0\", features = [\"full\"] }\nmempool_rust = \"0.1\"\n```\n\nAnd then the code:\n\n```rust,norun\nuse mempool_rust::MempoolClient;\n\n#[tokio::main]\nasync fn main() {\n    let client = MempoolClient::new(\n        \"https://mempool.space\",\n        None,\n    )\n    .unwrap();\n\n    // OR with tor\n    let client = MempoolClient::new(\n        \"http://url.onion\",\n        Some(\"socks5h://127.0.0.1:9050\"),\n    )\n    .unwrap();\n\n    let blocks = client.get_blocks(None).await.unwrap();\n\n    println!(\"{:#?}\", blocks);\n}\n\n```\n\n## Key features\n\n- [x] Tor support\n- General\n  - [ ] GET difficulty adjustment\n- Address\n  - [ ] GET address\n  - [ ] GET address transactions\n  - [ ] GET address transactions chain\n  - [ ] GET address transactions mempool\n  - [ ] GET address UTXO\n- Blocks\n  - [ ] GET block\n  - [ ] GET block header\n  - [ ] GET block height\n  - [ ] GET block raw\n  - [ ] GET block status\n  - [ ] GET block tip height\n  - [ ] GET block tip hash\n  - [ ] GET block transaction ID\n  - [ ] GET block transaction IDs\n  - [ ] GET block transactions\n  - [x] GET blocks\n- Mining\n  - [ ] GET mining pools\n  - [ ] GET mining pool\n  - [ ] GET mining pool hashrates\n  - [ ] GET mining pool hashrate\n  - [ ] GET mining pool blocks\n  - [ ] GET hashrate\n  - [ ] GET reward stats\n  - [ ] GET block fees\n  - [ ] GET block rewards\n  - [ ] GET block feerates\n  - [ ] GET block sizes and weights\n- Fees\n  - [ ] GET mempool blocks fees\n  - [ ] GET recommended fees\n- Mempool\n  - [ ] GET mempool\n  - [ ] GET mempool transaction IDs\n  - [ ] GET mempool recent\n- Transactions\n  - [ ] GET children pay for parent\n  - [ ] GET transaction\n  - [ ] GET transaction hex\n  - [ ] GET transaction merkleblock proof\n  - [ ] GET transaction merkle proof\n  - [ ] GET transaction outspend\n  - [ ] GET transaction outspends\n  - [ ] GET transaction raw\n  - [ ] GET transaction status\n  - [ ] POST transaction\n\n## License\n\nLicensed under MIT license ([LICENSE-MIT](LICENSE-MIT) or \u003chttp://opensource.org/licenses/MIT\u003e)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xtlt%2Fmempool_rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xtlt%2Fmempool_rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xtlt%2Fmempool_rust/lists"}