Invokes the provided endpoint.
Invokes the provided endpoint.
USAGE
$ lisk-core endpoint:invoke ENDPOINT [PARAMS]
ARGUMENTS
ENDPOINT Endpoint to invoke
PARAMS Endpoint parameters (Optional)
OPTIONS
-d, --data-path=data-path Directory path to specify where node data is stored. Environment variable "LISK_DATA_PATH"
can also be used.
-f, --file=file Input file.
--pretty Prints JSON in pretty format rather than condensed.
EXAMPLES
endpoint:invoke {endpoint} {parameters}
endpoint:invoke --data-path --file
endpoint:invoke generator_getAllKeys
endpoint:invoke consensus_getBFTParameters '{"height": 2}' -d ~/.lisk/pos-mainchain --pretty
endpoint:invoke consensus_getBFTParameters -f ./input.json
See code: dist/commands/endpoint/invoke.ts
Lists registered endpoints.
USAGE
$ lisk-core endpoint:list [ENDPOINT]
ARGUMENTS
ENDPOINT Endpoint name (Optional)
OPTIONS
-d, --data-path=data-path Directory path to specify where node data is stored. Environment variable "LISK_DATA_PATH"
can also be used.
-i, --info Prints additional info; Request and Response objects.
-m, --module=module Parent module.
--pretty Prints JSON in pretty format rather than condensed.
EXAMPLES
endpoint:list
endpoint:list {endpoint} -m {module}
endpoint:list {endpoint} -m {module} -i
endpoint:list -m validator
endopint:list getBalance
endpoint:list get -m token
endpoint:list getBalances -m token -i --pretty
endpoint:list getBalances -m token -d ~/.lisk/pos-mainchain
See code: dist/commands/endpoint/list.ts