Skip to content

New endpoint /transaction/pool/count - #520

Open
miiu96 wants to merge 2 commits into
masterfrom
tx-pool-count-endpoint
Open

New endpoint /transaction/pool/count#520
miiu96 wants to merge 2 commits into
masterfrom
tx-pool-count-endpoint

Conversation

@miiu96

@miiu96 miiu96 commented Sep 9, 2026

Copy link
Copy Markdown
Contributor
  • Adds GET /transaction/pool/count?shard-id={shard}.
  • Returns the number of transactions currently in the pool for the given shard. Resolves an observer for shard-id (required, uint32, same parseUint32UrlParam as /transaction/pool), calls observer GET /node/status, extracts erd_tx_pool_load.
  • Also a fix was required here: Add missing metric聽mx-chain-go#8008

@miiu96 miiu96 self-assigned this Sep 9, 2026
ssd04
ssd04 previously approved these changes Sep 9, 2026
AdoAdoAdo
AdoAdoAdo previously approved these changes Sep 9, 2026
@miiu96
miiu96 dismissed stale reviews from AdoAdoAdo and ssd04 via 064598a September 10, 2026 08:39
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.

3 participants