Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration SwapPhase

Index

Enumeration members

PaymentReceived

PaymentReceived: = 4

5/5 We have received the agreed amount of the swap and released the preimage to the receiving swap client so it can accept payment.

PreimageResolved

PreimageResolved: = 5

4/5 We have completed our outgoing payment and retrieved the preimage which can be used to settle the incoming payment locked by the same hash.

SendingPayment

SendingPayment: = 3

3/5 We have made a request to the swap client to send payment according to the agreed terms. The payment (and swap) could still fail due to no route with sufficient capacity, lack of cooperation from the receiver or any intermediary node along the route, or an unexpected error from the swap client.

SwapAccepted

SwapAccepted: = 2

2/5 The terms of the swap have been agreed to, and we will attempt to execute it.

SwapCreated

SwapCreated: = 0

0/5 The swap deal has been created locally.

SwapRequested

SwapRequested: = 1

1/5 We've made a request to a peer to accept this swap.

Generated using TypeDoc