Skip to content

Commit

Permalink
Update structs
Browse files Browse the repository at this point in the history
  • Loading branch information
josediegorobles committed Dec 12, 2023
1 parent 11303b3 commit e1ae6b7
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion lib/web/rgb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ export interface RgbAuctionBidResponse {
feeValue: number,
}

export interface RgbSwapStatusResponse {
export interface RgbMatchResponse {
/// Transfer ID
consigId: string,
/// Offer ID
Expand All @@ -842,6 +842,19 @@ export interface RgbSwapStatusResponse {
bidId: string,
}

export interface RgbAuctionOfferResponse {
/// Offer ID
offerId: string,
/// Contract ID
contractId: string,
/// Asset/Contract Amount
assetAmount: number,
/// Bitcoin Price
bitcoinPrice: number,
/// Bundle ID
bundleId: string,
}

export interface RgbOfferResponse {
/// The Contract ID
offerId: string;
Expand Down

0 comments on commit e1ae6b7

Please sign in to comment.