Mempool Info Settings

Mempool API Base URL

Example: https://mempool.space/api or your own hosted API endpoint.

Current Bitcoin block: ' . esc_html($current_block) . ''; }); // Transaction fees shortcode add_shortcode('mempool_fees', function() { $fees_url = mempool_api_url('/v1/fees/recommended'); $fees_response = wp_remote_get($fees_url); if (is_wp_error($fees_response)) { return "Could not reach mempool API."; } $fees_json = json_decode(wp_remote_retrieve_body($fees_response), true); if (!isset($fees_json['fastestFee'])) { return "Fee information not available."; } ob_start(); ?> Transaction fees (sat/vB):
Fastest:
Half hour:
Hour: