![]() |
![]()
| ![]() |
![]()
NAMElightning-askrene-create-channel -- Command to add a channel to layer SYNOPSISaskrene-create-channel layer source destination short_channel_id capacity_msat DESCRIPTIONCommand added in v24.11. The askrene-create-channel RPC command tells askrene create a channel in the given layer. To actually populate the channel use askrene-update-channel in each direction.
RETURN VALUEOn success, an empty object is returned. AUTHORRusty Russell <rusty@rustcorp.com.au> is mainly responsible. SEE ALSOlightning-getroutes(7), lightning-askrene-disable-node(7), lightning-askrene-update-channel(7), lightning-askrene-inform-channel(7), lightning-askrene-listlayers(7), lightning-askrene-age(7) RESOURCESMain web site: https://github.com/ElementsProject/lightning EXAMPLESExample 1: Request: $ lightning-cli askrene-create-channel -k "layer"="test_layers" "source"="nodeid030303030303030303030303030303030303030303030303030303030303" "destination"="nodeid010101010101010101010101010101010101010101010101010101010101" "short_channel_id"="0x0x1" "capacity_msat"="1000000sat" { Response: {}
|