get_mempool_entry
Retrieve detailed information about an unconfirmed Bitcoin transaction using its transaction hash to monitor pending network activity.
Instructions
Get details of a specific unconfirmed transaction in the mempool.
Args: txid: Transaction hash (64 hex characters)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txid | Yes |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- src/bitcoin_mcp/server.py:300-307 (handler)The `get_mempool_entry` tool handler, which uses the RPC client to fetch details of a specific unconfirmed transaction from the mempool.
def get_mempool_entry(txid: str) -> str: """Get details of a specific unconfirmed transaction in the mempool. Args: txid: Transaction hash (64 hex characters) """ entry = get_rpc().getmempoolentry(txid) return json.dumps(entry)