UNPKG

@cowprotocol/cow-sdk

Version:

<p align="center"> <img width="400" src="https://github.com/cowprotocol/cow-sdk/raw/main/docs/images/CoW.png" /> </p>

9 lines (8 loc) 544 B
import { Signer } from 'ethers'; import { LimitTradeParametersFromQuote, TransactionParams } from './types'; import { EthFlowOrderExistsCallback } from './calculateUniqueOrderId'; import { SupportedChainId } from '../common'; export declare function getEthFlowTransaction(signer: Signer, appDataKeccak256: string, _params: LimitTradeParametersFromQuote, chainId: SupportedChainId, networkCostsAmount?: string, checkEthFlowOrderExists?: EthFlowOrderExistsCallback): Promise<{ orderId: string; transaction: TransactionParams; }>;