Exchange APIs swap asset types. You need to have accounts for each of the asset types you are swapping.

Not all supported assets are swappable with each other. Click here to see the full list of supported exchange pairs.

There are 3 steps to performing an exchange:

  1. Setup the exchange - using exchanges/quote endpoint .
  2. Execute the exchange - using exchanges/{exchange_id}/accept endpoint
  3. Retrieve details on the exchange - You can get details of any executed Exchange using exchanges/{exchange_id} endpoint
© 2023 Layer2 Financial Inc. All Rights Reserved.