Integration
Swapping and Aggregation
Javascript SDK
Swap Assets
Swap Assets

Swap Assets

Supported methods

Chainflip swaps are fire-and-forget, meaning once the deposit is made, the user doesn't need to do anything for the swap to take place.

There are two main ways to initiate a swap:

  1. Creating a deposit channel via a Broker in order to get a deposit address. See Request Deposit Address.
  2. Calling the Vault smart contracts directly, via the swap() or call() functions — for EVM-only chains. See Execute Swap.

If you haven't yet, make sure you read How Swapping Works and Swapping Basics to better understand how to execute your first swap.

;