@xchainjs/xchain-thorchain,
see https://github.com/xchainjs/xchainjs-lib/tree/master/packages/xchain-thorchain#get-transaction-data--transaction-history/inbound_addresses
endpoint. You need to select the address of the Chain the inbound transaction will go do. halted
parameter and never send funds if it is set to trueChain
: Chain NameAddress
: Asgard Vault inbound address for that chain., Halted
: Boolean, if the chain is halted. This should be monitored.gas_rate
: rate to be used, e.g. in Stats or GWei. See Fees./pools
endpoint of Midgard to retrieve all swappable assets on THORChain. The response will be an array of objects like this:"status": "available"
are available to trade"assetPrice" tells you the asset's price in RUNE (RUNE Depth/AssetDepth ). In the above example
1 BNB.BTCB-1DE = 11,205 RUNE