Export

StreamingSwap

interface StreamingSwap {
    count?: number;
    deposit: string;
    destination?: string;
    failed_swap_reasons?: string[];
    failed_swaps?: number[];
    in: string;
    interval?: number;
    last_height?: number;
    out: string;
    quantity?: number;
    source_asset?: string;
    target_asset?: string;
    trade_target: string;
    tx_id?: string;
}

Properties

count?: number

the amount of swap attempts so far

Memberof

StreamingSwap

deposit: string

the number of input tokens the swapper has deposited

Memberof

StreamingSwap

destination?: string

the destination address to receive the swap output

Memberof

StreamingSwap

failed_swap_reasons?: string[]

the list of reasons that sub-swaps have failed

Memberof

StreamingSwap

failed_swaps?: number[]

the list of swap indexes that failed

Memberof

StreamingSwap

in: string

the amount of input tokens that have been swapped so far

Memberof

StreamingSwap

interval?: number

how often each swap is made, in blocks

Memberof

StreamingSwap

last_height?: number

the block height of the latest swap

Memberof

StreamingSwap

out: string

the amount of output tokens that have been swapped so far

Memberof

StreamingSwap

quantity?: number

the total number of swaps in a streaming swaps

Memberof

StreamingSwap

source_asset?: string

the asset to be swapped from

Memberof

StreamingSwap

target_asset?: string

the asset to be swapped to

Memberof

StreamingSwap

trade_target: string

the total number of tokens the swapper wants to receive of the output asset

Memberof

StreamingSwap

tx_id?: string

the hash of a transaction

Memberof

StreamingSwap

Generated using TypeDoc