Mempool.space API icon

Mempool.space API

Accède aux données Bitcoin via l'API Mempool.space - Mempool live, fees recommandées, détails blocs & transactions

Get Transaction

AI-generated

Overview

This node interacts with the Mempool.space API to retrieve detailed information about a specific Bitcoin transaction using its transaction ID (txid). It is useful for users who want to fetch comprehensive data about a Bitcoin transaction, such as its inputs, outputs, confirmations, and other metadata. For example, a blockchain analyst or developer might use this node to verify transaction details or monitor transaction status in real-time.

Use Case Examples

  1. Retrieve details of a Bitcoin transaction by providing its txid to analyze its inputs and outputs.
  2. Fetch transaction data to verify if a transaction has been confirmed on the Bitcoin network.

Properties

Name Meaning
Transaction ID The unique identifier (txid) of the Bitcoin transaction to retrieve details for.

Output

JSON

  • json - The detailed JSON object containing all information about the specified Bitcoin transaction returned by the Mempool.space API.

Dependencies

  • Mempool.space API endpoint accessed via HTTP GET requests

Troubleshooting

  • Ensure the provided transaction ID (txid) is valid and correctly formatted; invalid txid will cause errors.
  • Network connectivity issues may prevent the node from reaching the Mempool.space API, resulting in request failures.
  • If the transaction ID does not exist or is not yet propagated, the API may return an error or empty data.

Links

Discussion