IBExWalletAPI
Blockchain OperationsSwap Tokens

Get swap quote from COWSWAP, 1INCH or both (uses your first Safe as receiver)

GET
/v1.2/safes/swap/quote

Authorization

AuthorizationRequiredBearer <token>

In: header

Query Parameters

sellTokenAddressRequiredstring
buyTokenAddressRequiredstring
amountRequiredstring
chainIdnumber
safeAddressstring
providerstring
Value in: "COWSWAP" | "1INCH" | "BOTH"
curl -X GET "https://passkeys-testnet.ibex.fi/v1.2/safes/swap/quote?sellTokenAddress=%3Cstring%3E&buyTokenAddress=%3Cstring%3E&amount=%3Cstring%3E&chainId=0&safeAddress=%3Cstring%3E&provider=COWSWAP" \
  -H "Authorization: Bearer <token>"

Default Response