Skip to content

Commit

Permalink
fix: added fields for api
Browse files Browse the repository at this point in the history
  • Loading branch information
dni committed Aug 6, 2024
1 parent 5e8975a commit 573f277
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions boltz_client/boltz.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ class BoltzSwapStatusResponse:
failureReason: Optional[str] = None
zeroConfRejected: Optional[str] = None
transaction: Optional[dict] = None
failureDetails: Optional[str] = None


@dataclass
Expand All @@ -81,6 +82,7 @@ class BoltzSwapResponse:
expectedAmount: int
timeoutBlockHeight: int
blindingKey: Optional[str] = None
referralId: Optional[str] = None


@dataclass
Expand All @@ -92,6 +94,7 @@ class BoltzReverseSwapResponse:
timeoutBlockHeight: int
onchainAmount: int
blindingKey: Optional[str] = None
referralId: Optional[str] = None


@dataclass
Expand Down

0 comments on commit 573f277

Please sign in to comment.