Non-tokenized DeFi Positions
Get calldata for routing to non-tokenized positions.
The GET shortcuts/route/nontokenized
endpoint constructs an optimal conversion route. This API allows entering a non-tokenized DeFi position from any ERC20 or native token.
You must use delegate
strategy when working with non-tokenized positions.
Authentication
- Create an API key using Enso Dashboard.
- Securely store your API key and make it available in your environment:
Understand non-tokenized positions
Unlike tokenized positions where you receive a token representing your position (like aTokens in Aave), non-tokenized positions are stored directly in a smart contract (usually a Smart Wallet). This endpoint is specifically designed for interacting with these types of positions.
Common examples include:
- Borrowing on lending protocols
- Creating CDPs (Collateralized Debt Positions)
- Complex multi-step DeFi interactions
Note: This endpoint requires the use of a Smart Wallet or a delegatecall-compatible contract.
Sending the transaction
Send the transaction via a Smart Wallet, by using the tx.to
for recipient, and tx.data
to get the calldata. The transaction will be sent to the EnsoShortcutsDelegate
, which will handle the execution of the route.
Next steps
- Explore the Shortucts Library for common DeFi workflows.
- Check out the API Reference for full parameter details
Updated