I have tried many different forms but I cannot prepare a transaction with lightning-cli txprepare
from the Linux prompt.
lightning-cli txprepare [{\"bc1qvzr0mwps952d0cdmchyd2pe5rlee5tfces5dzf\":\"all\"}] slow 1 [c2ff...:1]
lightning-cli: Incorrect 'id' in response: null
lightning-cli txprepare "[{\"bc1qvzr0mwps952d0cdmchyd2pe5rlee5tfces5dzf\":\"all\"}]" slow 1 "[c2ff...:1]"
lightning-cli: Incorrect 'id' in response: null
and many other trials.
What is the correct syntax? How is it possible to avoid the double quote issue in the shell? Is it possible to have an actual example of what SHOULD work?
Thank you.