UNPKG

@f5i23q999d/cow-sdk

Version:

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

10 lines (9 loc) 587 B
import { LimitTradeParametersFromQuote, PostTradeAdditionalParams, TransactionParams } from './types.js'; import { SupportedChainId } from '../chains/index.js'; import { Signer } from '@ethersproject/abstract-signer'; import type { UnsignedOrder } from '../order-signing/index.js'; export declare function getEthFlowTransaction(signer: Signer, appDataKeccak256: string, _params: LimitTradeParametersFromQuote, chainId: SupportedChainId, additionalParams?: PostTradeAdditionalParams): Promise<{ orderId: string; transaction: TransactionParams; orderToSign: UnsignedOrder; }>;