Language

Choose a language

/build/rpc / btc

help

help ( "command" ) List all commands, or get help for a specified command. Arguments: 1. command (string, optional, default=all commands) The command to get help on Result: "str" (string) The help text

Signature

help(command?: string) → any

Code samples

curl --user "$RPC_USER:$RPC_PASS" \
  --data-binary '{"jsonrpc":"1.0","id":"docs","method":"help","params":["all commands"]}' \
  -H 'content-type: text/plain;' \
  http://127.0.0.1:8332/

Parameters

NameTypeReq.Description
commandstringThe command to get help on

Result

Type:  any

"str" (string) The help text

Source: services/core-node/bcore/src/rpc/server.cpp:127

C++ symbol: help