Query Parameters
Chain ID of the network to execute the transaction on
Ethereum address of the wallet to send the transaction from
"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
Routing strategy to use. Use delegate
when:
- You want to specify
spender
- You want to use the
harvest
ordeposit
action with/bundle
endpoint
ensowallet
, router
, delegate
, router-legacy
, delegate-legacy
Ethereum address of the receiver of the tokenOut
"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
Ethereum address of the spender of the tokenIn
"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
A list of swap aggregators to be ignored from consideration. See /aggregators
endpoint for available aggregators
Referral code that will be included in an on-chain event after encoding to hex. At most 16 characters.
16
"0123456789ABCDEF"
Ethereum address of the receiver of any dust tokens that might be produced during the execution of actions
"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
Flag to skip quoting (if true, amountOut and gas will not be returned)
Body
Protocol to interact with
"enso"
approve
, borrow
, borrowwithpositionid
, bridge
, deposit
, singledeposit
, singledepositwithpositionid
, multideposit
, tokenizedsingledeposit
, tokenizedmultideposit
, multioutsingledeposit
, depositclmm
, harvest
, permittransferfrom
, redeem
, singleredeem
, singleredeemwithpositionid
, multiredeem
, tokenizedsingleredeem
, tokenizedmultiredeem
, redeemclmm
, repay
, repaywithpositionid
, swap
, transfer
, transferfrom
, route
, call
, split
, merge
, balance
, minamountout
, slippage
, fee
, ensofee
, paymasterfee
"route"
Arguments specific to the action type. See the action types for more details. Arguments for the approve action
- Approve
- Borrow
- Bridge
- Deposit
- SingleDeposit
- MultiDeposit
- TokenizedSingleDeposit
- TokenizedMultiDeposit
- MultiOutSingleDeposit
- DepositCLMM
- Harvest
- PermitTransferFrom
- Redeem
- SingleRedeem
- MultiRedeem
- TokenizedSingleRedeem
- TokenizedMultiRedeem
- RedeemCLMM
- Repay
- Swap
- Transfer
- TransferFrom
- Route
- Slippage
- BorrowWithPositionId
- SingleDepositWithPositionId
- SingleRedeemWithPositionId
- RepayWithPositionId
- Call
- Split
- Merge
- Balance
- MinAmountOut
- Fee
Response
The route the shortcut will use
Block number the transaction was created on
The tx object to use in ethers
Price impact in basis points, null if USD price not found
Gas estimate for the transaction
Expected output amounts by token address