mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 11:29:59 +03:00
hsd-cli: add page (#2812)
This commit is contained in:
parent
a66920ebcf
commit
381c6bf2bc
36
pages/common/hsd-cli.md
Normal file
36
pages/common/hsd-cli.md
Normal file
@ -0,0 +1,36 @@
|
||||
# hsd-cli
|
||||
|
||||
> The command line REST tool for the Handshake blockchain.
|
||||
> Homepage: <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}}`
|
Loading…
Reference in New Issue
Block a user