Skip to main content

Create a Smart Transfer ticket

  1. Call this endpoint to create a Smart Transfer ticket.
  2. In the NetworkId field, enter the Network profile of the counterparties you want to create a smart transfer with.
  3. Under the terms field, add assets and amounts that are going to be exchanged.
In the example below, we are exchanging 1.23 BTC for 23.213 ETH, where:
  1. BTC will be sent from Network ID e41bd5cb-088c-41f2-bb6c-9fb027075e5a to Network ID 798ac350-8aec-459f-96f5-505481933f98.
  2. ETH will be sent from Network ID 798ac350-8aec-459f-96f5-505481933f98 to Network ID e41bd5cb-088c-41f2-bb6c-9fb027075e5a.

Fund Smart Transfer ticket

To fund the Smart Transfer ticket call this endpoint. You can fund a ticket in any order, i.e. any side can go first. In order to fund a ticket, you must first define the funding source (vault or connected exchange account).

Cancel Smart Transfer ticket

To cancel a ticket, call this endpoint. Canceling is only possible if none of the ticket’s legs (terms) have been previously funded. Otherwise, only the side that already funded the ticket has the ability to cancel it.

Examples