UniDevKit - v2.1.1
    Preparing search index...

    Interface QuoteResponse

    Response structure for a successful quote simulation.

    const response: QuoteResponse = {
    amountOut: 950000n,
    estimatedGasUsed: 150000n,
    timestamp: 1703123456789
    };
    interface QuoteResponse {
        amountOut: bigint;
        estimatedGasUsed: bigint;
        timestamp: number;
    }
    Index

    Properties

    amountOut: bigint

    The estimated amount of tokens out for the given input amount.

    The output amount as a bigint

    estimatedGasUsed: bigint

    The estimated gas used for the transaction.

    Gas estimate as a bigint

    timestamp: number

    The timestamp when the quote was fetched.

    Unix timestamp in milliseconds