Bitcoin

c-lightning RPC command syntax

I am getroute The command is specified as follows:

getroute id msatoshi riskfactor (cltv) (fromid) (fuzzpercent) (exclude) (maxhops)
  1. Do I need to include all of the above elements, or can I just ignore the optional elements (understood as elements within brackets) and use their default values?
  2. What if I can ignore optional elements?
  3. How can I specify it? exclude parameter? An error occurred while trying the following:
    getroute 024...a67 1000000sat 10 exclude="687193x890x0/0, 687193x890x0/1"
    

(For reference, I’m using the Spark wallet’s RPC console.)

Related Articles

Back to top button