On this page

latest contributor to this doc

Last Edit:

@smk762

Update Lightning Channel

API-v2lightning::channels::update_channel

Updates channel options for a Lightning Network channel.

ParameterTypeRequiredDescription
coinstringThe ticker of the coin you would like to update channel configuration options for.
uuidstringUnique channel identifier.
channel_optionsobjectA standard LightningChannelOptions object.

ParameterTypeDescription
channel_optionsobjectThe updated channel options.
idintRequest identifier.

lightning::channels::update_channel

POST
lightning::channels::update_channel
{
  "userpass": "RPC_UserP@SSW0RD",
  "mmrpc": "2.0",
  "method": "lightning::channels::update_channel",
  "params": {
    "coin": "tBTC-lightning",
    "uuid": "434681f8-95e5-484f-af49-fa80d8ae857b",
    "channel_options": {
      "proportional_fee_in_millionths_sats": 1,
      "base_fee_msat": 1100,
      "cltv_expiry_delta": 72,
      "max_dust_htlc_exposure_msat": 5000000,
      "force_close_avoidance_max_fee_satoshis": 1000
    }
  },
  "id": 2
}