Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { "help" :
- [
- { "command" : "dev-blockheight", "description" : "Show current block height" },
- { "command" : "dev-setfees", "description" : "Set feerate in satoshi-per-kw for {immediate}, {normal} and {slow} (each is optional, when set, separate by spaces) and show the value of those three feerates" },
- { "command" : "listnodes", "description" : "Show all nodes in our local network view" },
- { "command" : "getroute", "description" : "Show route to {id} for {msatoshi}, using {riskfactor} and optional {cltv} (default 9)" },
- { "command" : "listchannels", "description" : "Show all known channels" },
- { "command" : "invoice", "description" : "Create an invoice for {msatoshi} with {label} and {description} with optional {expiry} seconds (default 1 hour)" },
- { "command" : "listinvoice", "description" : "(DEPRECATED) Show invoice {label} (or all, if no {label}))" },
- { "command" : "listinvoices", "description" : "Show invoice {label} (or all, if no {label})" },
- { "command" : "delinvoice", "description" : "Delete unpaid invoice {label} with {status}" },
- { "command" : "waitanyinvoice", "description" : "Wait for the next invoice to be paid, after {lastpay_index} (if supplied)" },
- { "command" : "waitinvoice", "description" : "Wait for an incoming payment matching the invoice with {label}" },
- { "command" : "decodepay", "description" : "Decode {bolt11}, using {description} if necessary" },
- { "command" : "help", "description" : "Show available commands" },
- { "command" : "stop", "description" : "Shut down the lightningd process" },
- { "command" : "getlog", "description" : "Show logs, with optional log {level} (info|unusual|debug|io)" },
- { "command" : "dev-rhash", "description" : "Show SHA256 of {secret}" },
- { "command" : "dev-crash", "description" : "Crash lightningd by calling fatal()" },
- { "command" : "getinfo", "description" : "Show information about this node" },
- { "command" : "sendpay", "description" : "Send along {route} in return for preimage of {rhash}" },
- { "command" : "pay", "description" : "Send payment specified by {bolt11} with optional {msatoshi} (if and only if {bolt11} does not have amount), {description} (required if {bolt11} uses description hash) and {riskfactor} (default 1.0)" },
- { "command" : "listpayments", "description" : "Show outgoing payments" },
- { "command" : "connect", "description" : "Connect to {id} at {host} (which can end in ':port' if not default)" },
- { "command" : "listpeers", "description" : "Show current peers, if {level} is set, include {log}s" },
- { "command" : "fundchannel", "description" : "Fund channel with {id} using {satoshi} satoshis" },
- { "command" : "close", "description" : "Close the channel with peer {id}" },
- { "command" : "dev-sign-last-tx", "description" : "Sign and show the last commitment transaction with peer {id}" },
- { "command" : "dev-fail", "description" : "Fail with peer {id}" },
- { "command" : "dev-reenable-commit", "description" : "Re-enable the commit timer on peer {id}" },
- { "command" : "dev-ping", "description" : "Send {peerid} a ping of length {len} asking for {pongbytes}" },
- { "command" : "dev-memdump", "description" : "Show memory objects currently in use" },
- { "command" : "dev-memleak", "description" : "Show unreferenced memory objects" },
- { "command" : "withdraw", "description" : "Send to {destination} address {satoshi} (or 'all') amount via Bitcoin transaction" },
- { "command" : "newaddr", "description" : "Get a new address to fund a channel" },
- { "command" : "listfunds", "description" : "Show funds available for opening channels" } ] }
Add Comment
Please, Sign In to add comment