LnForGasSwapState
Defined in: atomiq-sdk/src/swaps/trusted/ln/LnForGasSwap.ts:23
State enum for trusted Lightning gas swaps
Enumeration Members
EXPIRED
EXPIRED: -2;
Defined in: atomiq-sdk/src/swaps/trusted/ln/LnForGasSwap.ts:27
The swap quote expired without user sending in the lightning network payment
FAILED
FAILED: -1;
Defined in: atomiq-sdk/src/swaps/trusted/ln/LnForGasSwap.ts:31
The swap has failed after the intermediary already received a lightning network payment on the source
PR_CREATED
PR_CREATED: 0;
Defined in: atomiq-sdk/src/swaps/trusted/ln/LnForGasSwap.ts:35
Swap was created, pay the provided lightning network invoice
PR_PAID
PR_PAID: 1;
Defined in: atomiq-sdk/src/swaps/trusted/ln/LnForGasSwap.ts:39
User paid the lightning network invoice on the source
FINISHED
FINISHED: 2;
Defined in: atomiq-sdk/src/swaps/trusted/ln/LnForGasSwap.ts:43
The swap is finished after the intermediary sent funds on the destination chain