Export

QuoteSwapResponse

interface QuoteSwapResponse {
    dust_threshold?: string;
    expected_amount_out: string;
    expected_amount_out_streaming: string;
    expiry: number;
    fees: QuoteFees;
    inbound_address?: string;
    inbound_confirmation_blocks?: number;
    inbound_confirmation_seconds?: number;
    max_streaming_quantity?: number;
    memo?: string;
    notes: string;
    outbound_delay_blocks: number;
    outbound_delay_seconds: number;
    recommended_min_amount_in?: string;
    router?: string;
    slippage_bps: number;
    streaming_slippage_bps: number;
    streaming_swap_blocks?: number;
    streaming_swap_seconds?: number;
    total_swap_seconds?: number;
    warning: string;
}

Properties

dust_threshold?: string

Defines the minimum transaction size for the chain in base units (sats, wei, uatom). Transactions with asset amounts lower than the dust_threshold are ignored.

Memberof

QuoteSwapResponse

expected_amount_out: string

the amount of the target asset the user can expect to receive after fees

Memberof

QuoteSwapResponse

expected_amount_out_streaming: string

Deprecated - expected_amount_out is streaming amount if interval provided.

Memberof

QuoteSwapResponse

expiry: number

expiration timestamp in unix seconds

Memberof

QuoteSwapResponse

fees: QuoteFees

Memberof

QuoteSwapResponse

inbound_address?: string

the inbound address for the transaction on the source chain

Memberof

QuoteSwapResponse

inbound_confirmation_blocks?: number

the approximate number of source chain blocks required before processing

Memberof

QuoteSwapResponse

inbound_confirmation_seconds?: number

the approximate seconds for block confirmations required before processing

Memberof

QuoteSwapResponse

max_streaming_quantity?: number

the maximum amount of trades a streaming swap can do for a trade

Memberof

QuoteSwapResponse

memo?: string

generated memo for the swap

Memberof

QuoteSwapResponse

notes: string

chain specific quote notes

Memberof

QuoteSwapResponse

outbound_delay_blocks: number

the number of thorchain blocks the outbound will be delayed

Memberof

QuoteSwapResponse

outbound_delay_seconds: number

the approximate seconds for the outbound delay before it will be sent

Memberof

QuoteSwapResponse

recommended_min_amount_in?: string

The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds.

Memberof

QuoteSwapResponse

router?: string

the EVM chain router contract address

Memberof

QuoteSwapResponse

slippage_bps: number

Deprecated - migrate to fees object.

Memberof

QuoteSwapResponse

streaming_slippage_bps: number

Deprecated - migrate to fees object.

Memberof

QuoteSwapResponse

streaming_swap_blocks?: number

the number of blocks the streaming swap will execute over

Memberof

QuoteSwapResponse

streaming_swap_seconds?: number

approx the number of seconds the streaming swap will execute over

Memberof

QuoteSwapResponse

total_swap_seconds?: number

total number of seconds a swap is expected to take (inbound conf + streaming swap + outbound delay)

Memberof

QuoteSwapResponse

warning: string

static warning message

Memberof

QuoteSwapResponse

Generated using TypeDoc