components/bsx/Offer/types.ts
export type Offer = {
id: string
caller: string
expiration: string
price: string
status: string
createdAt: Date
nft: {
id: string
name: string
collection: {
id: string
name: string
}
}
}
export type OfferResponse = {
offers: Offer[]
stats: {
total: number
}
}
export interface OfferStats {
status: string
totalCount: number
totalPrice: string
}
export type ActiveWallets = {
totalCount: number
}
export type StatsResponse = {
buys: {
totalCount: number
}
offerStats: OfferStats[]
listed: {
count: number
}
minted: {
count: number
}
createdCollections: {
totalCount: number
}
activeWallets: ActiveWallets[]
}