UNPKG

@cowprotocol/cow-sdk

Version:

## 📚 [Docs website](https://docs.cow.fi/)

6 lines (5 loc) • 368 B
import { UnsignedOrder } from '../order-signing'; import { CowEnv } from '../common'; import { SupportedChainId } from '../chains'; import { EthFlowOrderExistsCallback } from './types'; export declare function calculateUniqueOrderId(chainId: SupportedChainId, order: UnsignedOrder, checkEthFlowOrderExists?: EthFlowOrderExistsCallback, env?: CowEnv): Promise<string>;