Spiral gives your agent every tool with one account. Browse the tools →

VS Code · Finance

How to Use mempool.space Transaction output spending status in VS Code

Returns whether a transaction's outputs have been spent and identifies the spending transactions when available. Use it to check remaining outputs or follow an organization's payment forward by one transaction.

Prompts to try with mempool.space Transaction output spending status in VS Code

Copy an example into VS Code, or ask in your own words.

Use mempool.space Transaction output spending status to look this up and give me the result as a table. Save the result in ./assets.

mempool.space Transaction output spending statusVS Code
Try asking
  • Pull the latest numbers from mempool.space Transaction output spending status and tell me what changed since last week.

  • Check mempool.space Transaction output spending status and summarize what you find in three bullet points.

  • Pull the newest data from mempool.space Transaction output spending status and give me the result as a table.

  • Check mempool.space Transaction output spending status every morning and tell me only when something changed.

How to set up mempool.space Transaction output spending status in VS Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to VS Code on the console's Agents & MCP page, or run:

    code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
  2. Sign in

    VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

Use the Spiral skill

  1. Send VS Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. Run mempool.space Transaction output spending status

    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/transaction_outspends",
        "input": {
          "txid": "<txid>"
        }
      }'

Then paste one of the prompts above: VS Code finds mempool.space Transaction output spending status on Spiral, shows the price and runs it.

mempool.space Transaction output spending status providers and prices

Spiral runs mempool.space Transaction output spending status through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
mempool.space · Transaction outspends
mempool-space/crypto/transaction_outspends

Settings you can ask for

Ask VS Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Start index0 to 1000000

First output index of the page (default 0); pass the previous page's next_start_index.

Every API field of mempool.space · Transaction outspends is on its tool page: open its card above.

What can you do with mempool.space Transaction output spending status in VS Code?

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.

Reconcile public donation receipts

Compare a nonprofit's address totals with its transaction history, inventory remaining outputs, and check spending links. Inspect the containing blocks and their transaction lists when a receipt needs an inclusion check.

Prepare an organization wallet consolidation review

Inventory unspent outputs, inspect their funding transactions, and compare the inventory with address totals and history. Add current fee recommendations and backlog conditions to help an authorized operator choose when to review consolidation.

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.

Build an organization output inventory

Join address totals and history with unspent outputs and funding transaction details. Check output spending links and add current fee and congestion data for a review of the organization's remaining coins.

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.

Questions about mempool.space Transaction output spending status in VS Code

Can VS Code use mempool.space Transaction output spending status?

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run mempool.space Transaction output spending status like any built-in tool.

How much does mempool.space Transaction output spending status cost in VS Code?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your VS Code plan is separate.

Do I need an Alexandria account to use mempool.space Transaction output spending status in VS Code?

No. Spiral runs mempool.space Transaction output spending status 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 Transaction output spending status in VS Code?

About two minutes: add the hosted server, then sign in.

Does VS Code wait while mempool.space Transaction output spending status runs?

mempool.space Transaction output spending status runs in the background. VS Code 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.

Get started

Start using mempool.space Transaction output spending status in VS Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into VS Code:

Set up VS Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options