SPB Git

Repository Public

quote-arbeth-btc.json 1.5 KB 31 lines json

1{2  "recordedAt": "2026-11-11T01:13:37.172Z",3  "url": "https://mayanode.mayachain.info/mayachain/quote/swap?from_asset=ARB.ETH&to_asset=BTC.BTC&amount=2000000&destination=bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh&liquidity_tolerance_bps=50&streaming_interval=3&streaming_quantity=0",4  "status": 200,5  "body": {6    "inbound_address": "0x7df885869ac7933a7c841faf419ed4978d3b4f04",7    "outbound_delay_blocks": 0,8    "outbound_delay_seconds": 0,9    "fees": {10      "asset": "BTC.BTC",11      "affiliate": "0",12      "outbound": "605",13      "liquidity": "57",14      "total": "662",15      "slippage_bps": 10,16      "total_bps": 11717    },18    "router": "0x700E97ef07219440487840Dc472E7120A7FF11F4",19    "expiry": 1794360517,20    "warning": "Do not cache this response. Do not send funds after the expiry.",21    "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 send to or from contract addresses.",22    "recommended_min_amount_in": "86920",23    "recommended_gas_rate": "15",24    "gas_rate_units": "centigwei",25    "memo": "=:b:bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh:54688/3/0",26    "expected_amount_out": "54963",27    "max_streaming_quantity": 1,28    "streaming_swap_blocks": 029  }30}31
Files main
Menu

Theme