Create Swap
Create a new swap based on an existing quote. This is the second step of the Swap flow.
Authentication
✅ Tenant User (TenantUser)✅ Organization User (
CustomerEmployee)❌ End User (
EndUser)✅ Service Account
Required Permissions
Swaps:Create: Always requiredWallets:Transactions:Create: Always required. Swap transactions are broadcast from your wallet.FeeSponsors:Use: Required if feeSponsorId is specified and the sponsoree wallet belongs to an EndUser user kind.Authorizations
Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows
User Action Signature: Used to sign the change-inducing API requests. More details how to generate the token: User Action Signing flows
Body
- UniswapClassic Swap Request
- UniswapX Swap Request
- CircleCctp Swap Request
The slippage tolerance for this trade in basis point (BPS). Slippage tolerance defines the maximum price difference you're willing to accept during a trade from the estimated quote, ensuring you still receive at least a minimum number of tokens if the price shifts. One basis point equals one-hundredth of a percentage point, or 0.01%.
0 <= x <= 10000Id of the Dfns wallet receiving the target asset. Currently this value must be the same as the walletId. Used for attesting that the swap is being created with the same parameters as the quote.
1 - 64^wa-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$"wa-5pfuu-9euek-h0odgb6snva8ph3k"
Response
Success
The slippage tolerance for this trade in basis point (BPS). Slippage tolerance defines the maximum price difference you are willing to accept during a trade from the estimated quote, ensuring you still receive at least a minimum number of tokens if the price shifts. One basis point equals one-hundredth of a percentage point, or 0.01%.
ISO 8601 date (must be UTC). When the swap was initiated.
Provider-specific intermediate state, only set while status is InProgress. Values are opaque strings — clients map them to progress bars, labels or icons as needed. For CCTP one of: signing-permit, approving-source, burning-source, awaiting-source-finality, awaiting-attestation, awaiting-forwarder, claiming-destination. Undefined for providers without intermediate sub-states.