diff options
Diffstat (limited to 'packages/connect/src/types.ts')
-rw-r--r-- | packages/connect/src/types.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/connect/src/types.ts b/packages/connect/src/types.ts index 8c2eaff7d..42417f709 100644 --- a/packages/connect/src/types.ts +++ b/packages/connect/src/types.ts @@ -7,7 +7,7 @@ export interface Client { getOrderAsync: (orderHash: string) => Promise<APIOrder>; getOrderbookAsync: (request: OrderbookRequest, requestOpts?: PagedRequestOpts) => Promise<OrderbookResponse>; getOrderConfigAsync: (request: OrderConfigRequest) => Promise<OrderConfigResponse>; - getFeeRecipientsAsync: () => Promise<PaginatedCollection<string>>; + getFeeRecipientsAsync: () => Promise<FeeRecipientsResponse>; submitOrderAsync: (signedOrder: SignedOrder) => Promise<void>; } @@ -147,6 +147,8 @@ export interface OrderConfigResponse { senderAddress: string; } +export type FeeRecipientsResponse = PaginatedCollection<string>; + export interface PagedRequestOpts { page?: number; perPage?: number; |