How to Use mempool.space Recent Bitcoin blocks in Grok Build
Returns a sequence of Bitcoin block summaries, starting at the chain tip or an earlier height. Use it to compare recent blocks or scan a historical stretch before inspecting individual blocks.
Prompts to try with mempool.space Recent Bitcoin blocks in Grok Build
Copy an example into Grok Build, or ask in your own words.
Use mempool.space Recent Bitcoin blocks starting at height 840000 and build a comparison table of heights, transaction counts, sizes, and weights.
Use mempool.space Recent Bitcoin blocks to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from mempool.space Recent Bitcoin blocks and tell me what changed since last week.
Check mempool.space Recent Bitcoin blocks and summarize what you find in three bullet points.
Pull the newest data from mempool.space Recent Bitcoin blocks and give me the result as a table.
How to set up mempool.space Recent Bitcoin blocks in Grok Build
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Add --scope project to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.
grok mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start grok and run /mcps. Select Spiral and press i. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.
- Check it
grok mcp doctor spiral
Use the Spiral skill
- Send Grok Build this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run mempool.space Recent Bitcoin blocks
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "mempool-space/crypto/blocks", "input": { "start_height": 0 } }'
Then paste one of the prompts above: Grok Build finds mempool.space Recent Bitcoin blocks on Spiral, shows the price and runs it.
mempool.space Recent Bitcoin blocks providers and prices
Spiral runs mempool.space Recent Bitcoin blocks through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Grok Build for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Start height | 0 to 10000000 | Highest block to return (default: the tip); pass the previous page's |
Every API field of mempool.space · Blocks is on its tool page: open its card above.
What can you do with mempool.space Recent Bitcoin blocks in Grok Build?
Build a Bitcoin payment review screen with address activity, transaction structure, and block evidence from mempool.space. Coding agents can turn those responses into project views for remaining outputs, fee recommendations, and congestion.
Explain a merchant payment's status
Inspect a payment's inputs, outputs, and confirmation status alongside the receiving address's history and totals. Check its containing block and contents after confirmation, or compare current fee guidance and backlog while it remains pending.
Produce a nonprofit settlement brief
Summarize new address activity, remaining outputs, and changes in output spending status. Add recent block activity, selected block details, and current fee pressure to give the finance team a compact Bitcoin settlement report.
Build a merchant Bitcoin operations screen
Show receipt history, address totals, remaining outputs, and the status of selected payment outputs. Place recent blocks, current fee recommendations, and backlog measurements beside those payment records.
Compare Bitcoin block contents
Scan a stretch of block summaries, compare transaction counts and block weights, and load selected blocks' transaction pages. Inspect individual transactions to explain differences in size and fees.
Create a Bitcoin data lesson
Use a nonprofit's published donation address and historical blocks to teach address totals, transaction inputs and outputs, unspent outputs, and spending links. Contrast confirmed block contents with the current backlog and suggested fee rates.
More on mempool.space Recent Bitcoin blocks and Grok Build
Overview
mempool.space Recent Bitcoin blocks in other agents
Questions about mempool.space Recent Bitcoin blocks in Grok Build
Can Grok Build use mempool.space Recent Bitcoin blocks?
Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run mempool.space Recent Bitcoin blocks like any built-in tool.
How much does mempool.space Recent Bitcoin blocks cost in Grok Build?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok Build plan is separate.
Do I need an Alexandria account to use mempool.space Recent Bitcoin blocks in Grok Build?
No. Spiral runs mempool.space Recent Bitcoin blocks on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up mempool.space Recent Bitcoin blocks in Grok Build?
About two minutes: add the server, then sign in, then check it.
Does Grok Build wait while mempool.space Recent Bitcoin blocks runs?
mempool.space Recent Bitcoin blocks runs in the background. Grok Build starts the run, checks on it and gives you the json when it's ready.
Does mempool.space show one universal list of pending Bitcoin transactions?
Its pending view comes from multiple Bitcoin nodes. Mempool.space uses both nodes with the default 300 MB limit and larger nodes that retain low-fee transactions during congestion.
How quickly does mempool.space update its projected blocks?
Its transaction-selection algorithm runs every two seconds. That cadence applies to projected blocks and should not be read as a refresh guarantee for every REST response.
How much address history does one upstream request include?
The documented initial address-history request includes up to 50 pending transactions and 25 confirmed transactions. Older confirmed activity is paged in batches of 25; pending-only history has no paging.
How many transactions can a block-contents request return?
The source serves up to 25 transactions per block-transactions page. A block containing more transactions requires additional pages.
What does the mempool backlog measure?
It reports pending transaction count, total virtual size, and total fees. Its histogram also divides queued virtual bytes into fee-rate bands, which helps distinguish a large low-fee backlog from competition at higher rates.
Start using mempool.space Recent Bitcoin blocks in Grok Build
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok Build:
set up https://spiral.ai/SKILL.md


