robosats/frontend/src/models/Order.model.ts

25 lines
502 B
TypeScript
Raw Normal View History

export interface Order {
2022-09-09 17:18:04 +00:00
id: number;
created_at: Date;
expires_at: Date;
type: number;
currency: number;
amount: string;
base_amount?: number;
has_range: boolean;
min_amount: number;
max_amount: number;
payment_method: string;
is_explicit: false;
premium: number;
satoshis: number;
bondless_taker: boolean;
maker: number;
escrow_duration: number;
maker_nick: string;
price: number;
maker_status: 'Active' | 'Seen recently' | 'Inactive';
}
2022-09-09 17:18:04 +00:00
export default Order;