{
  "metadata": {
    "args": [
      "/home/user/bin/loop",
      "--network=regtest",
      "--rpcserver=localhost:11010",
      "--loopdir=/redacted/loop",
      "--tlscertpath=/redacted/loop/regtest/tls.cert",
      "--macaroonpath=/redacted/loop/regtest/loop.macaroon",
      "static",
      "openchannel",
      "--help",
      "--network",
      "regtest"
    ],
    "env": {},
    "version": "0.33.0-beta commit=v0.32.1-beta-71-gbed29e41d84c34147ca60fb1aa99ecc6f2c8a079 commit_hash=bed29e41d84c34147ca60fb1aa99ecc6f2c8a079",
    "duration": 2743367,
    "clock_start_unix": 1769407086
  },
  "events": [
    {
      "time_ms": 2,
      "kind": "stdout",
      "data": {
        "lines": [
          "NAME:\n",
          "   loop static openchannel - Open a channel to an existing peer.\n",
          "\n",
          "USAGE:\n",
          "   loop static openchannel [options]\n",
          "\n",
          "DESCRIPTION:\n",
          "   \n",
          "     Attempt to open a new channel to an existing peer with the key \n",
          "     node-key.\n",
          "\n",
          "     The channel will be initialized with local-amt satoshis locally and\n",
          "     push-amt satoshis for the remote node. Note that the push-amt is\n",
          "     deducted from the specified local-amt which implies that the local-amt\n",
          "     must be greater than the push-amt. Also note that specifying push-amt\n",
          "     means you give that amount to the remote node as part of the channel\n",
          "     opening. Once the channel is open, a channelPoint (txid:vout) of the\n",
          "     funding output is returned.\n",
          "\n",
          "     If the remote peer supports the option upfront shutdown feature bit\n",
          "     (query listpeers to see their supported feature bits), an address to\n",
          "     enforce payout of funds on cooperative close can optionally be provided.\n",
          "     Note that if you set this value, you will not be able to cooperatively\n",
          "     close out to another address.\n",
          "\n",
          "     One can also specify a short string memo to record some useful\n",
          "     information about the channel using the --memo argument. This is stored\n",
          "     locally only, and is purely for reference. It has no bearing on the\n",
          "     channel's operation. Max allowed length is 500 characters.\n",
          "\n",
          "OPTIONS:\n",
          "   --node_key string                       the identity public key of the target node/peer serialized in compressed format\n",
          "   --local_amt int                         the number of satoshis the wallet should commit to the channel (default: 0)\n",
          "   --base_fee_msat uint                    the base fee in milli-satoshis that will be charged for each forwarded HTLC, regardless of payment size (default: 0)\n",
          "   --fee_rate_ppm uint                     the fee rate ppm (parts per million) that will be charged proportionally based on the value of each forwarded HTLC, the lowest possible rate is 0 with a granularity of 0.000001 (millionths) (default: 0)\n",
          "   --push_amt int                          the number of satoshis to give the remote side as part of the initial commitment state, this is equivalent to first opening a channel and sending the remote party funds, but done all in one step (default: 0)\n",
          "   --sat_per_vbyte uint                    (optional) a manual fee expressed in sat/vbyte that should be used when crafting the transaction (default: 0)\n",
          "   --private                               make the channel private, such that it won't be announced to the greater network, and nodes other than the two channel endpoints must be explicitly told about it to be able to route through it (default: false)\n",
          "   --min_htlc_msat int                     (optional) the minimum value we will require for incoming HTLCs on the channel (default: 0)\n",
          "   --remote_csv_delay uint                 (optional) the number of blocks we will require our channel counterparty to wait before accessing its funds in case of unilateral close. If this is not set, we will scale the value according to the channel size (default: 0)\n",
          "   --max_local_csv uint                    (optional) the maximum number of blocks that we will allow the remote peer to require we wait before accessing our funds in the case of a unilateral close. (default: 0)\n",
          "   --close_address string                  (optional) an address to enforce payout of our funds to on cooperative close. Note that if this value is set on channel open, you will *not* be able to cooperatively close to a different address.\n",
          "   --remote_max_value_in_flight_msat uint  (optional) the maximum value in msat that can be pending within the channel at any given time (default: 0)\n",
          "   --channel_type string                   (optional) the type of channel to propose to the remote peer (\"tweakless\", \"anchors\", \"simple-taproot\", \"taproot\")\n",
          "   --zero_conf                             (optional) whether a zero-conf channel open should be attempted. (default: false)\n",
          "   --scid_alias                            (optional) whether a scid-alias channel type should be negotiated. (default: false)\n",
          "   --remote_reserve_sats uint              (optional) the minimum number of satoshis we require the remote node to keep as a direct payment. If not specified, a default of 1% of the channel capacity will be used. (default: 0)\n",
          "   --memo string                           (optional) a note-to-self containing some useful information about the channel. This is stored locally only, and is purely for reference. It has no bearing on the channel's operation. Max allowed length is 500 characters\n",
          "   --fundmax                               if set, the wallet will attempt to commit the maximum possible local amount to the channel. This must not be set at the same time as local_amt (default: false)\n",
          "   --utxo string [ --utxo string ]         a utxo specified as outpoint(tx:idx) which will be used to fund a channel. This flag can be repeatedly used to fund a channel with a selection of utxos. The selected funds can either be entirely spent by specifying the fundmax flag or partially by selecting a fraction of the sum of the outpoints in local_amt\n",
          "   --help, -h                              show help\n",
          "\n",
          "GLOBAL OPTIONS:\n",
          "   --rpcserver string           loopd daemon address host:port (default: \"localhost:11010\") [$LOOPCLI_RPCSERVER]\n",
          "   --network string, -n string  the network loop is running on e.g. mainnet, testnet, etc. (default: \"mainnet\") [$LOOPCLI_NETWORK]\n",
          "   --loopdir string             path to loop's base directory (default: ~/.loop) [$LOOPCLI_LOOPDIR]\n",
          "   --tlscertpath string         path to loop's TLS certificate (default: ~/.loop/mainnet/tls.cert) [$LOOPCLI_TLSCERTPATH]\n",
          "   --macaroonpath string        path to macaroon file (default: ~/.loop/mainnet/loop.macaroon) [$LOOPCLI_MACAROONPATH]\n"
        ]
      }
    },
    {
      "time_ms": 2,
      "kind": "exit",
      "data": {}
    }
  ]
}
