Home Return

AirSwap Basic Embed

cv publish0x hive steemit uptrennd https://lbry.tv/$/invite/@0fajarpurnama0:e https://bittube.app/?ref?2JY4FE0CP youtube viewly twitch bitchute dlive dtube portal twitter facebook instagram lindked discord reddit vk pininterest socialeaglerockglobal minds medium blogger weebly wix joomla thumblr

source code

View My Stats

word number: 280

Time: 2021-03-01 14:29:27 +0000

Air Swap Instant

Call the following JavaScript:

<script src="https://cdn.airswap.io/airswap-instant-widget.js"></script>

Call Air Swap Instant:

<button onclick="myAirSwapInstant()">AirSwapInstant</button>
<script>
  function myAirSwapInstant(){
    window.AirSwapInstant.render(
      {
        onClose: function () {
          console.info('Widget closed.')
        },
      },
      'body',
    )
  }
</script>


Air Swap Trader

Call the following JavaScript:

<script src="https://cdn.airswap.io/1.3.0/airswap-trader.js"></script>

Call Air Swap Trader

<button onclick="myAirSwapTrader()">AirSwapInstant</button>
<script>
  function myAirSwapTrader(){
    window.AirSwapTrader({
      onCreate: (order, cid) => {
        console.log('Order created!')
      },
      onClose: (transactionHash) => {
        console.log('Widget closed')
      },
  	}).render('body')
  }
</script>


Source: https://docs.airswap.io/take-liquidity/embed-airswap