Skip to content

Add mempool client and types to the workspace - #238

Draft
EliteCoder18 wants to merge 4 commits into
bitcoindevkit:masterfrom
EliteCoder18:feat/mempool-client-workspace
Draft

Add mempool client and types to the workspace#238
EliteCoder18 wants to merge 4 commits into
bitcoindevkit:masterfrom
EliteCoder18:feat/mempool-client-workspace

Conversation

@EliteCoder18

@EliteCoder18 EliteCoder18 commented Aug 10, 2026

Copy link
Copy Markdown

Description

Depends on #229.
Addresses #210.
Closes #218.

Adds two new workspace crates: mempool-types and mempool-client.

mempool-types contains mempool.space-specific response types layered on top of esplora-types. mempool-client wraps esplora-client and adds mempool.space-specific /api/v1/* methods while still exposing the standard Esplora API surface, so downstream users can migrate by changing the dependency/import from esplora-client to mempool-client.

Notes to the reviewers

  • mempool-client and mempool-types are currently experimental. This PR does not add dedicated integration tests. I plan to add reusable test utilities and endpoint coverage in a separate PR stacked on top of this one.
  • This is stacked on Split into esplora-types and esplora-client crates #229 and should be reviewed against feat/esplora-types-workspace until Split into esplora-types and esplora-client crates #229 lands.
  • The intent is to keep migration from esplora-client to mempool-client as small as possible: update the dependency and import path, while retaining standard Esplora methods through the wrapped client.
  • The legacy /fee-estimates method is kept for compatibility but marked deprecated in mempool-client; new code should use get_precise_fees() or get_recommended_fees().
  • The Esplora JSON helper is made public so mempool-client can reuse the existing request, retry, and deserialization behavior instead of duplicating HTTP plumbing.
  • WebSocket support is not included here; this PR focuses on the REST /api/v1/* surface.

Changelog notice

  • feat: add mempool-types and mempool-client crates for mempool.space REST API support

@EliteCoder18 EliteCoder18 changed the title Feat/mempool client workspace Add mempool client and types to the workspace Aug 10, 2026
@EliteCoder18
EliteCoder18 force-pushed the feat/mempool-client-workspace branch from 0d7b979 to 9129385 Compare August 11, 2026 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Break this crate into esplora-client and esplora-types

1 participant