@allbridge/bridge-core-sdk
    Preparing search index...

    Interface NearIntentsQuote

    A NEAR Intents quote. Amounts are float strings.

    interface NearIntentsQuote {
        amountIn: string;
        amountInUsd?: string;
        amountOut: string;
        amountOutUsd?: string;
        estimated: boolean;
        minAmountOut: string;
        timeEstimate: number;
    }
    Index

    Properties

    amountIn: string

    The float amount to send, in source token units

    amountInUsd?: string

    USD value of amountIn; absent on an estimated quote for a token without a known price

    amountOut: string

    The expected float amount to receive, in destination token units

    amountOutUsd?: string

    USD value of amountOut; absent on an estimated quote for a token without a known price

    estimated: boolean

    True when the server computed the amounts from its per-route model of recent NEAR Intents quotes instead of requesting a live quote for this exact amount (keeps repeated quotes fast, e.g. while the user types). An estimated quote is fine for display, but the real amounts may differ slightly. nearIntents.createDeposit and buildSendTransaction always get a live quote, so the amounts they return are the binding ones.

    minAmountOut: string

    The minimum float amount to receive after slippage, in destination token units

    timeEstimate: number

    Estimated transfer time, seconds