@cowprotocol/cow-sdk
Version:
<p align="center"> <img width="400" src="https://github.com/cowprotocol/cow-sdk/raw/main/docs/images/CoW.png" /> </p>
28 lines (27 loc) • 806 B
TypeScript
import type { Address } from './Address';
import type { OrderParameters } from './OrderParameters';
/**
* An order quoted by the backend that can be directly signed and
* submitted to the order creation backend.
*
*/
export type OrderQuoteResponse = {
quote: OrderParameters;
from?: Address;
/**
* Expiration date of the offered fee. Order service might not accept
* the fee after this expiration date. Encoded as ISO 8601 UTC.
*
*/
expiration: string;
/**
* Quote ID linked to a quote to enable providing more metadata when analysing order slippage.
*
*/
id?: number;
/**
* Whether it was possible to verify that the quoted amounts are accurate using a simulation.
*
*/
verified: boolean;
};