Response structure for a successful quote simulation.
const response: QuoteResponse = { amountOut: 950000n, estimatedGasUsed: 150000n, timestamp: 1703123456789}; Copy
const response: QuoteResponse = { amountOut: 950000n, estimatedGasUsed: 150000n, timestamp: 1703123456789};
The estimated amount of tokens out for the given input amount.
The output amount as a bigint
The estimated gas used for the transaction.
Gas estimate as a bigint
The timestamp when the quote was fetched.
Unix timestamp in milliseconds
Response structure for a successful quote simulation.
Example