Execute a token swap

Get executable transactions for token-to-token swaps. Supports same-chain and cross-chain swaps with multiple from/to assets.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Request body for executing a token swap

string
required

Wallet address executing the swap

from_assets
array of objects
required

Tokens to swap from (at least one required)

from_assets*
string | null

Recipient address (defaults to sender address)

double | null

Slippage tolerance as a decimal (0.0 to 0.5, default: 0.01)

to_assets
array of objects
required

Tokens to swap to (at least one required)

to_assets*
Responses

500

Internal server error. Please open a support ticket so OpenSea can investigate.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*