diff --git a/src/args.rs b/src/args.rs index 00b8a58..1ba4f10 100644 --- a/src/args.rs +++ b/src/args.rs @@ -122,11 +122,47 @@ pub fn blocks_bulk(min_height: &str, max_height: &str) { /// - GET /api/address/:address/utxo \<\> /// - GET /api/v1/validate-address/:address \<\> /// - [BLOCKS](https://mempool.space/docs/api/rest#get-block) +/// - GET /api/block/:hash \<\> +/// - GET /api/block/:hash/header \<\> +/// - GET /api/block-height/:height \<\> +/// - GET /api/v1/mining/blocks/timestamp/:timestamp \<\> +/// - GET /api/block/:hash/raw \<\> +/// - GET /api/block/:hash/status \<\> +/// - GET /api/blocks/tip/height \<\> +/// - GET /api/blocks/tip/hash \<\> +/// - GET /api/block/:hash/txid/:index \<\> +/// - GET /api/block/:hash/txids \<\> +/// - GET /api/block/:hash/txs[/:start_index] \<\> +/// - GET /api/v1/blocks[/:startHeight] \<\> +/// - GET /api/v1/blocks-bulk/:minHeight[/:maxHeight] \<\> (Enterprise) +/// - [MINING](https://mempool.space/docs/api/rest#get-mining-pools) +/// - GET /api/v1/mining/pools[/:timePeriod] \<\> +/// - GET /api/v1/mining/pool/:slug \<\> +/// - GET /api/v1/mining/hashrate/pools/[\:timePeriod] \<\> +/// - GET /api/v1/mining/pool/:slug/hashrate \<\> +/// - GET /api/v1/mining/pool/:slug/blocks/[\:blockHeight] \<\> +/// - GET /api/v1/mining/hashrate/[\:timePeriod] \<\> +/// - GET /api/v1/mining/pool/:slug/blocks/[\:blockHeight] \<\> +/// - GET /api/v1/mining/difficulty-adjustments/[\:interval] \<\> +/// - GET /api/v1/mining/reward-stats/:blockCount \<\> +/// - GET /api/v1/mining/blocks/fees/:timePeriod \<\> +/// - GET /api/v1/mining/blocks/rewards/:timePeriod \<\> +/// - GET /api/v1/mining/blocks/fee-rates/:timePeriod \<\> +/// - GET /api/v1/mining/blocks/sizes-weights/:timePeriod \<\> +/// - GET /api/v1/mining/blocks/predictions/:timePeriod \<\> +/// - GET /api/v1/mining/blocks/audit/score/:blockHash \<\> +/// - GET /api/v1/mining/blocks/audit/scores/:startHeight \<\> +/// - GET /api/v1/block/:blockHash/audit-summary \<\> +/// - [FEES](https://mempool.space/docs/api/rest#get-mempool-blocks-fees) +/// - GET /api/v1/fees/mempool-blocks \<\> +/// - GET /api/v1/fees/recommended \<\> +/// - [MEMPOOL](https://mempool.space/docs/api/rest#get-mempool) /// - GET \<< >\> /// - GET \<< >\> /// - GET \<< >\> /// - GET \<< >\> /// - GET \<< >\> +/// - [TRANSACTIONS](https://mempool.space/docs/api/rest#get-cpfp) /// - GET \<< >\> /// - GET \<< >\> /// - GET \<< >\> @@ -135,20 +171,39 @@ pub fn blocks_bulk(min_height: &str, max_height: &str) { /// - GET \<< >\> /// - GET \<< >\> /// - GET \<< >\> -/// - [MINING](https://mempool.space/docs/api/rest#get-mining-pools) /// - GET \<< >\> -/// - [FEES](https://mempool.space/docs/api/rest#get-mempool-blocks-fees) /// - GET \<< >\> -/// - [MEMPOOL](https://mempool.space/docs/api/rest#get-mempool) /// - GET \<< >\> -/// - [TRANSACTIONS](https://mempool.space/docs/api/rest#get-cpfp) /// - GET \<< >\> /// - [LIGHTNING](https://mempool.space/docs/api/rest#get-lightning-network-stats) /// - GET \<< >\> +/// - GET \<< >\> +/// - GET \<< >\> +/// - GET \<< >\> +/// - GET \<< >\> +/// - GET \<< >\> +/// - GET \<< >\> +/// - GET \<< >\> +/// - GET \<< >\> +/// - GET \<< >\> +/// - GET \<< >\> +/// - GET \<< >\> +/// - GET \<< >\> +/// - GET \<< >\> +/// - GET \<< >\> +/// - GET \<< >\> +/// - GET \<< >\> +/// - GET \<< >\> /// - [ACCELERATOR (Public)](https://mempool.space/docs/api/rest#accelerator-estimate) /// - GET \<< >\> +/// - GET \<< >\> +/// - GET \<< >\> +/// - GET \<< >\> /// - [ACCELERATOR (Authenticated)](https://mempool.space/docs/api/rest#accelerator-top-up-history) /// - GET \<< >\> +/// - GET \<< >\> +/// - GET \<< >\> +/// - GET \<< >\> /// /// USAGE: /// - mempool-space \--difficulty_adjustment (flagged) @@ -231,6 +286,7 @@ pub struct Args { /// - BLOCK /// `https://mempool.space/api/block//txs` pub block_txs: Option, + /// mempool-space --block_txs --block_start_index pub block_start_index: Option, /// - V1 BLOCKS