@plasma-fi/sdk
Version:
🛠An SDK for building dapp on PlasmaSwap.
16 lines (15 loc) • 695 B
TypeScript
import { ChainId } from '../constants/constants';
import { Api0xPaginationRequest, Api0xPaginationResponse, Signed0xOrderWithMeta } from '../types';
export interface Fetch0xSignedOrdersQuery extends Api0xPaginationRequest {
/**
* The address of either the maker or the taker
*/
trader?: string;
maker?: string;
taker?: string;
sender?: string;
makerToken?: string;
takerToken?: string;
}
export declare type Fetch0xSignedOrdersResponse = Api0xPaginationResponse<Signed0xOrderWithMeta>;
export declare function fetch0xSignedOrders(chainId: ChainId, query: Fetch0xSignedOrdersQuery, abort?: AbortSignal): Promise<Fetch0xSignedOrdersResponse>;