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

Codex · Finance

How to Use mempool.space Address unspent outputs in Codex

Returns an address's unspent Bitcoin outputs, including amounts and funding transaction status. Use it to inventory remaining outputs or prepare a consolidation review.

Prompts to try with mempool.space Address unspent outputs in Codex

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

Use mempool.space Address unspent outputs for Bitcoin address 3LpK5cxzCUCwepSfC1LZ1EiPTXNTWPqoCK and add an inventory view showing amounts and funding status.

mempool.space Address unspent outputsCodex
Try asking
  • Use mempool.space Address unspent outputs to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from mempool.space Address unspent outputs and tell me what changed since last week.

  • Check mempool.space Address unspent outputs and summarize what you find in three bullet points.

  • Pull the newest data from mempool.space Address unspent outputs and give me the result as a table.

How to set up mempool.space Address unspent outputs in Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex 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 Address unspent outputs

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

Then paste one of the prompts above: Codex finds mempool.space Address unspent outputs on Spiral, shows the price and runs it.

mempool.space Address unspent outputs providers and prices

Spiral runs mempool.space Address unspent outputs through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
mempool.space · Address utxos
mempool-space/crypto/address_utxos

Settings you can ask for

Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 500100

Rows to return (1..500, default 100).

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

What can you do with mempool.space Address unspent outputs in Codex?

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 Address unspent outputs in Codex

Can Codex use mempool.space Address unspent outputs?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run mempool.space Address unspent outputs like any built-in tool.

How much does mempool.space Address unspent outputs cost in Codex?

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

Do I need an Alexandria account to use mempool.space Address unspent outputs in Codex?

No. Spiral runs mempool.space Address unspent outputs 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 Address unspent outputs in Codex?

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

Does Codex wait while mempool.space Address unspent outputs runs?

mempool.space Address unspent outputs runs in the background. Codex 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 Address unspent outputs in Codex

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

Paste this into Codex:

Set up Codex

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