How it works

Thorchain-query module use xchain-midgard-query and thornode Api's to query thorchain for estimation of swaps. Function returns a TxDetail object with all the required information needed to conduct a swap.

The dependency between xchain-midgard-query and this package is residual and we plan to remove it completely in future releases.

Dependencies