1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 14:55:24 +02:00
tldr/pages/common/hsd-cli.md
Managor 4b1e0196d1
common/*: reduce usage of "command-line" (part 3) (#16951)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <wiktor@perskawiec.cc>
2025-06-28 13:12:44 +00:00

670 B

hsd-cli

The REST tool for the Handshake blockchain. More information: https://handshake.org.

  • Retrieve information about the current server:

hsd-cli info

  • Broadcast a local transaction:

hsd-cli broadcast {{transaction_hex}}

  • Retrieve a mempool snapshot:

hsd-cli mempool

  • View a transaction by address or hash:

hsd-cli tx {{address_or_hash}}

  • View a coin by its hash index or address:

hsd-cli coin {{hash_index_or_address}}

  • View a block by height or hash:

hsd-cli block {{height_or_hash}}

  • Reset the chain to the specified block:

hsd-cli reset {{height_or_hash}}

  • Execute an RPC command:

hsd-cli rpc {{command}} {{args}}