2个版本

0.1.1 2024年6月23日
0.1.0 2024年5月8日

#26 in 神奇豆子

Download history 122/week @ 2024-05-03 16/week @ 2024-05-10 6/week @ 2024-05-17 1/week @ 2024-05-24 147/week @ 2024-06-21 5/week @ 2024-06-28

每月103次下载

MIT许可证

13KB
141 代码行

Esplora-CLI

esplora-client提供的rust CLI。

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

依赖关系

~10MB
~143K SLoC