Command Line Interface
pymempool provides a command-line interface with various commands to interact with the mempool.space API.
Available Commands
Display Recent Blocks
Display recent Bitcoin blocks as ASCII art with statistics:
pymempool blocks --limit 5
Display Mempool Blocks
Display mempool blocks as ASCII art with statistics:
pymempool mempool-blocks
Get Halving Information
Get information about the next Bitcoin halving:
pymempool halving
Get Mempool Information
Get current mempool information:
pymempool mempool
Get Fee Recommendations
Get current fee recommendations:
pymempool fees
Get Address Details
Get details about a specific Bitcoin address:
pymempool address <address>
Get Block Details
Get details about a specific block:
pymempool block <block_hash>
Stream Live Bitcoin Data
Stream live Bitcoin data from the WebSocket API:
pymempool stream
Help Information
For more details on any command, use the --help option:
pymempool blocks --help