Streaming
Returns the state of all streaming swaps
GEThttps://thor.nownodes.io/thorchain/swaps/streaming
Query parameters
Response
OK
Body
tx_idstring
the hash of a transaction
"CF524818D42B63D25BBA0CCC4909F127CAA645C0F9CD07324F2824CC151A64C7"
intervalinteger (int64)
how often each swap is made, in blocks
quantityinteger (int64)
the total number of swaps in a streaming swaps
countinteger (int64)
the amount of swap attempts so far
last_heightinteger (int64)
the block height of the latest swap
trade_target*string
the total number of tokens the swapper wants to receive of the output asset
"100"
source_assetstring
the asset to be swapped from
"BTC.BTC"
target_assetstring
the asset to be swapped to
"ETH.ETH"
destinationstring
the destination address to receive the swap output
"0x66fb1cd65b97fa40457b90b7d1ca6b92cb64b32b"
deposit*string
the number of input tokens the swapper has deposited
"100"
in*string
the amount of input tokens that have been swapped so far
"100"
out*string
the amount of output tokens that have been swapped so far
"100"
failed_swapsarray of integer (int64)
the list of swap indexes that failed
failed_swap_reasonsarray of string
the list of reasons that sub-swaps have failed
Request
Response