SPB Git

Repository Public

quote-eth-btc.json 1.8 KB 36 lines json

1{2  "recordedAt": "2026-11-11T01:05:23.293Z",3  "url": "https://gateway.liquify.com/chain/thorchain_api/thorchain/quote/swap?from_asset=ETH.ETH&to_asset=BTC.BTC&amount=2000000&destination=bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh&liquidity_tolerance_bps=50",4  "status": 200,5  "body": {6    "inbound_address": "0x6b4068070d95d87b321909bb21c8979fba2b8876",7    "inbound_confirmation_blocks": 2,8    "inbound_confirmation_seconds": 24,9    "outbound_delay_blocks": 0,10    "outbound_delay_seconds": 0,11    "fees": {12      "asset": "BTC.BTC",13      "affiliate": "0",14      "outbound": "1043",15      "liquidity": "111",16      "total": "1154",17      "slippage_bps": 19,18      "total_bps": 20319    },20    "router": "0xD37BbE5744D730a1d98d8DC97c42F0Ca46aD7146",21    "expiry": 1794359900,22    "warning": "Do not cache this response. Do not send funds after the expiry. Rapid streaming time is a best-case estimate. Actual execution may take longer due to direction skipping, swap failures, or queue budget limits.",23    "notes": "Base Asset: Send the inbound_address the asset with the memo encoded in hex in the data field. Tokens: First approve router to spend tokens from user: asset.approve(router, amount). Then call router.depositWithExpiry(inbound_address, asset, amount, memo, expiry). Asset is the token contract address. Amount should be in native asset decimals (eg 1e18 for most tokens). Do not swap to smart contract addresses.",24    "dust_threshold": "1000",25    "recommended_min_amount_in": "220236",26    "recommended_gas_rate": "15",27    "gas_rate_units": "gwei",28    "memo": "=:b:bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh:54230",29    "expected_amount_out": "54503",30    "max_streaming_quantity": 1,31    "streaming_swap_blocks": 1,32    "streaming_swap_seconds": 6,33    "total_swap_seconds": 3034  }35}36
Files main
Menu

Theme