Skip to content

Commit

Permalink
feat: add fills to active orders response (#38)
Browse files Browse the repository at this point in the history
vbrvk authored Sep 13, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent fe39f48 commit 95f8a91
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/api/orders/types.ts
Original file line number Diff line number Diff line change
@@ -14,6 +14,10 @@ export type ActiveOrdersRequestParams = PaginationParams & {
dstChainId?: SupportedChain
}

export type FillInfo = {
txHash: string
}

export type ActiveOrder = {
quoteId: string
orderHash: string
@@ -30,6 +34,7 @@ export type ActiveOrder = {
dstChainId: SupportedChain
isMakerContract: boolean
secretHashes?: string[]
fills: FillInfo[]
}

export type ActiveOrdersResponse = PaginationOutput<ActiveOrder>

0 comments on commit 95f8a91

Please sign in to comment.