TypeScript SDK
PreparedQuote
type PreparedQuote = { blockNumber?: bigint; destinationAmount: bigint; estimatedExecutionTimeMs?: number; expiration?: number; originAmount: bigint; timestamp: number;};
The blocknumber this quote was generated at.
type blockNumber = bigint;
The output amount (in wei) to be received.
type destinationAmount = bigint;
The estimated execution time in milliseconds.
type estimatedExecutionTimeMs = number;
The expiration timestamp for the quote. All transactions must be executed before this timestamp to guarantee successful execution at the specified price.
type expiration = number;
The input amount (in wei) including fees to be paid.
type originAmount = bigint;
A series of steps required to complete the quote, along with the transactions to execute in order.
The timestamp this quote was generated at.
type timestamp = number;