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

from_assets
array of objects
required

Tokens to swap from (at least one required)

from_assets*
to_assets
array of objects
required

Tokens to swap to (at least one required)

to_assets*
string
required

Wallet address executing the swap

string

Recipient address (defaults to sender address)

double

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

Responses

400

For error reasons, review the response data.

500

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

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