Actions13
Get Block Info
AI-generatedOverview
This node operation retrieves detailed information about a specific Bitcoin block using the Mempool.space API. It accepts either the block's hash or its height as an identifier to fetch the block data. This is useful for blockchain analysts, developers, or enthusiasts who want to obtain comprehensive block details such as transactions, timestamps, and block metadata.
Use Case Examples
- Retrieve block information by providing the block hash to analyze its transactions and metadata.
- Fetch block details using the block height to monitor blockchain activity at a specific block number.
Properties
| Name | Meaning |
|---|---|
| Block Hash or Height | The hash or height of the Bitcoin block to retrieve information for. This is a required input to specify which block's data to fetch. |
Output
JSON
json- The JSON object containing detailed information about the specified Bitcoin block, including transactions, timestamps, and other block metadata.
Dependencies
- Mempool.space API
Troubleshooting
- Ensure the block identifier (hash or height) is correctly formatted and valid; otherwise, the API may return an error or no data.
- If the node throws an 'Operation not supported' error, verify that the operation parameter is set to 'Get Block Info'.
- Network or API connectivity issues may cause request failures; check internet connection and API availability.
Links
- Mempool.space API Documentation - Official documentation for the Mempool.space API used to fetch Bitcoin blockchain data.