wdk_open_channel
Open a Lightning channel to a peer, specifying capacity in satoshis and optionally allocating an RGB asset for off-chain transfers.
Instructions
Open a new Lightning channel to a peer. Optionally allocate an RGB asset to the channel for off-chain asset transfers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | No | RGB asset ID to allocate in this channel | |
| is_public | No | Whether to announce the channel publicly (default: false) | |
| push_msat | No | Millisatoshis to push to the remote side on open (default: 0) | |
| asset_amount | No | Amount of RGB asset to allocate | |
| capacity_sat | Yes | Channel capacity in satoshis | |
| peer_pubkey_and_addr | Yes | Peer connection string: '<pubkey>@<host>:<port>' |