lightning-check – Command for verifying parameters¶
check command_to_check [parameters]
The check RPC command verifies another command’s parameters without running it.
The command_to_check is the name of the relevant command.
parameters is the command’s parameters.
This does not guarantee successful execution of the command in all cases. For example, a call to lightning-getroute(7) may still fail to find a route even if checking the parameters succeeds.
On success, the command_to_check is returned. On failure, the relevant RPC error is returned.
Main web site: https://github.com/ElementsProject/lightning