1 unstable release

0.1.0 May 8, 2024

#2749 in Magic Beans

Download history 129/week @ 2024-05-04 9/week @ 2024-05-11 6/week @ 2024-05-18 1/week @ 2024-05-25

145 downloads per month

MIT license

13KB
141 lines

Esplora-CLI

A rust CLI for esplora-client.

Bitcoin Esplora CLI API

Usage: esplora-cli [NETWORK] <COMMAND>

Commands:
  get-tx                        Get transaction option by id
  get-tx-at-block-index         Get transaction at block index
  get-tx-status                 Get transaction status by id
  get-header-by-hash            Get block header by block hash
  get-block-status              Get block status by block hash
  get-block-by-hash             Get block by block hash
  get-merkle-proof              Get transaction merkle proof by tx id
  get-merkle-block              Get transaction merkle block inclusion proof by id
  get-output-status             Get output spending status by tx id and output index
  broadcast                     Broadcast transaction
  get-height                    Get blockchain tip height
  get-tip-hash                  Get current blockchain tip block hash
  get-block-hash                Get block hash at height
  get-fee-estimates             Get a fee estimate by confirmation target in sat/vB
  get-script-hash-transactions  Get confirmed transaction history for the specified address/scripthash sorted by date
  get-blocks                    Get recent block summaries at the tip or at height if provided (max summaries is backend dependant)
  help                          Print this message or the help of the given subcommand(s)

Arguments:
  [NETWORK]  [default: https://blockstream.info/api]

Options:
  -h, --help     Print help
  -V, --version  Print version

Dependencies

~9.5MB
~135K SLoC