From 381c6bf2bcb0d20f34f4a9fb4b46a8647dbfd726 Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Tue, 12 Mar 2019 13:49:11 +0000 Subject: [PATCH] hsd-cli: add page (#2812) --- pages/common/hsd-cli.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/hsd-cli.md diff --git a/pages/common/hsd-cli.md b/pages/common/hsd-cli.md new file mode 100644 index 000000000..7b9308f65 --- /dev/null +++ b/pages/common/hsd-cli.md @@ -0,0 +1,36 @@ +# hsd-cli + +> The command line REST tool for the Handshake blockchain. +> Homepage: . + +- 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}}`