Skip to content

Commit

Permalink
docs: No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
kilrau authored and gitbook-bot committed Nov 4, 2023
1 parent b92e504 commit c9711ab
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ The corresponding REST APIs can be accessed at:
>
> [`https://api.boltz.exchange/version`](https://api.boltz.exchange/version)
In the following sections we'll walk through existing swap types & states, describe the REST API, how to handle refunds and more.
In the following sections we'll describe the REST API, walk through swap types & states, how to craft transactions, handle refunds and more.
2 changes: 1 addition & 1 deletion docs/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Table of contents

* [👋 Introduction](README.md)
* [🔁 Swap Types & States](lifecycle.md)
* [🤖 REST API](api.md)
* [🔁 Swap Types & States](lifecycle.md)
* [🧾 Claiming Swaps & Refunds](claiming-swaps.md)
* [⏩ 0-conf](0-conf.md)
* [✨ Channel Creation](channel-creation.md)
Expand Down
6 changes: 3 additions & 3 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ Response:

There is one special case: when trying to broadcast a refund transaction for a swap that has not timed out yet, the backend will return some additional information in addition to the `error` in the `JSON` encoded response:

* `error`: The reason why broadcasting failed. In this special case always: `non-mandatory-script-verify-flag (Locktime requirement not satisfied) (code 64)`
* `error`: The reason why broadcasting failed. In this special case always: `non-mandatory-script-verify-flag (Locktime requirement not satisfied) (code 64)`.
* `timeoutEta`: UNIX timestamp at which the HTLC is expected to time out.
* `timeoutBlockHeight`: Block height at which the HTLC in the lockup transaction will time out.

Expand Down Expand Up @@ -1118,8 +1118,8 @@ Status Codes:
Response object:

* `nodes`: `JSON` with the symbol of the chain on which the Lightning node is running as key and the following objects:
* `nodeKey`: public key of the lightning node
* `uris`: array of the URIs on which the lightning node is reachable
* `nodeKey`: Public key of the Lightning node.
* `uris`: Array of the URIs on which the Lightning node is reachable.

**Examples:**

Expand Down
7 changes: 3 additions & 4 deletions docs/claiming-swaps.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
---
description: >-
This document describes how Boltz API clients craft claim transactions for
Reverse Submarine Swaps and refund transactions for failed Normal Submarine
Swaps.
This document describes how Boltz API clients craft claim and refund
transactions and emergency procedures for rescuing funds of failed swaps.
---

# 🧾 Claiming Swaps & Refunds

## Basics

lil intro
Boltz API clients need to craft claim transactions for e.g. Reverse Submarine Swaps to claim the and refund transactions for failed Normal Submarine Swaps.

### UTXO Chains

Expand Down

0 comments on commit c9711ab

Please sign in to comment.