- cancelOrders(__namedParameters): Promise<{
transaction: Transaction;
result: CurrencyFlow[];
}> Parameters
- __namedParameters: {
chainId: CHAIN_IDS;
userAddress: `0x${string}`;
ids: string[];
options?: DefaultOptions & {
gasLimit?: bigint;
gasPriceLimit?: bigint;
} & {
useSubgraph?: boolean;
};
}userAddress: `0x${string}`
ids: string[]
Optional
options?: DefaultOptions & {
gasLimit?: bigint;
gasPriceLimit?: bigint;
} & {
useSubgraph?: boolean;
}
Returns Promise<{
transaction: Transaction;
result: CurrencyFlow[];
}>
Cancels specified open orders if orders are not fully filled. [IMPORTANT] Set ApprovalForAll before calling this function.