Skip to main content
A swap involves two participants: the user, who initiates the swap, and the resolver, who executes it. The process starts with a quote request.
1

Quote request

The user chooses the token pair and the amount to swap. The client sends these parameters to the Quotes API. The API returns a quote — a time-limited execution estimate that includes all pricing information.
2

Intent creation

After the user accepts the quote, the client creates an intent: a structured representation of the user’s swap intention that references the accepted quote and specifies the user’s source, destination, and refund addresses.
3

Signing the intent

The intent response contains everything the user needs to sign the swap. The user signs off-chain, cryptographically approving the swap parameters defined in the intent and authorizing resolvers to execute it under the quoted conditions. The client submits the signature as an approval.
4

Execution

Once the approval is added, Utexo notifies the winning resolver. The resolver deposits the user’s assets into an escrow on the source chain and then transfers the corresponding assets to the user on the destination chain. During execution, the client can retrieve the intent status to track progress.

Request sequence