Deals
View endpoints for deals.
Authentication roles requirements are written in endpoints descriptions.
export interface DealBasicInfo
{
id?: number;
created_at: number;
updated_at?: number;
last_sync_at?: number;
uuid: string;
name: string;
info_image_path?: string;
info_completed?: boolean;
info_tag?: string;
info_category?: string;
info_description?: string;
info_valuation?: number;
info_raising_amount?: number;
info_cliff_and_vesting?: string;
info_fee: number;
info_token_price: number;
url_website?: string;
url_twitter?: string;
url_pitchdeck?: string;
deal_fundrised_token_addr: string;
deal_fundrised_token_symbol: string;
deal_min_allocation: number;
deal_max_allocation: number;
deal_total_allocation: number;
deal_active_discovery: boolean;
deal_active_fundrising_registered: boolean;
deal_active_fundrising_everyone: boolean;
deal_active_refunding: boolean;
}
export interface DealParticipationsInfo
{
id: number;
sumInterest: number;
sumPurchases: number;
countInterest: number;
countPurchases: number;
}
export interface DealCompleteInfo extends DealBasicInfo, Omit<DealParticipationsInfo, "id">
{
}
export interface MultipleDealsCompleteInfo
{
communityUuid?: string,
communityOwner?: string,
walletOwner?: string,
deals: DealCompleteInfo[];
}
Get list of all deals
GET
https://launchpad.angelssquad.com/api/deals/deal/:id
Allowance: [everyone]
Path Parameters
Name
Type
Description
id*
number
dealId
Get list of all deals
GET
https://launchpad.angelssquad.com/api/deals/all
Allowance: [everyone]
Get active deals (in interest discovery or fundraising phase)
GET
https://launchpad.angelssquad.com/api/deals/active
Allowance: [everyone]
Get finished deals (marked as completed)
GET
https://launchpad.angelssquad.com/api/deals/finished
Allowance: [everyone]
Get wallet deals participations info
GET
https://launchpad.angelssquad.com/api/deals/wallet/:id
Allowance: [wallet, admin]
Path Parameters
Name
Type
Description
id*
number
deal id
Get participations statistics for all deals of specific community (interest discovery/fundraising)
GET
https://launchpad.angelssquad.com/api/deals/community/:id
Allowance: [community, admin]
Path Parameters
Name
Type
Description
id
number
community id
Last updated