@f5i23q999d/cow-sdk
Version:
<p align="center"> <img width="400" src="https://github.com/cowprotocol/cow-sdk/raw/main/docs/images/CoW.png" /> </p>
6 lines (5 loc) • 398 B
TypeScript
import { UnsignedOrder } from '../order-signing/index.js';
import { CowEnv } from '../common/index.js';
import { SupportedChainId } from '../chains/index.js';
import { EthFlowOrderExistsCallback } from './types.js';
export declare function calculateUniqueOrderId(chainId: SupportedChainId, order: UnsignedOrder, checkEthFlowOrderExists?: EthFlowOrderExistsCallback, env?: CowEnv): Promise<string>;