diff --git a/docs/loop.1 b/docs/loop.1 index 1e21905b..f8f2e729 100644 --- a/docs/loop.1 +++ b/docs/loop.1 @@ -388,6 +388,18 @@ list all reservations .PP \fB--help, -h\fP: show help +.SS new, n +create a new reservation + +.PP +\fB--amt\fP="": the amount in satoshis for the reservation (default: 0) + +.PP +\fB--expiry\fP="": the relative block height at which the reservation expires (default: 0) + +.PP +\fB--help, -h\fP: show help + .SH instantout perform an instant off-chain to on-chain swap (looping out) diff --git a/docs/loop.md b/docs/loop.md index 316cebdc..ab17754d 100644 --- a/docs/loop.md +++ b/docs/loop.md @@ -455,6 +455,26 @@ The following flags are supported: |-----------------|-------------|------|:-------------:| | `--help` (`-h`) | show help | bool | `false` | +### `reservations new` subcommand (aliases: `n`) + +create a new reservation. + +Create a new reservation with the given value and expiry. + +Usage: + +```bash +$ loop [GLOBAL FLAGS] reservations new [COMMAND FLAGS] [ARGUMENTS...] +``` + +The following flags are supported: + +| Name | Description | Type | Default value | +|-----------------|------------------------------------------------------------|------|:-------------:| +| `--amt="…"` | the amount in satoshis for the reservation | uint | `0` | +| `--expiry="…"` | the relative block height at which the reservation expires | uint | `0` | +| `--help` (`-h`) | show help | bool | `false` | + ### `instantout` command perform an instant off-chain to on-chain swap (looping out).