Discover the destination with GET /api/v1/nontokenized, then call GET https://api.enso.build/api/v1/shortcuts/route/nontokenized with positionOut set to the position ID. Use a smart wallet and the delegate strategy when the docs require it.
Definition
A non-tokenized position is held in a protocol contract rather than as a receipt token. The standard Route API is for tokenized destinations; this endpoint is the path into a non-tokenized one.
How it works
Query
/api/v1/nontokenizedwith chain, project, or protocol filters to findpositionId,address, and underlying tokens.Prefer
positionIdaspositionOut. Anaddresscan map to several positions and then the request errors.Send
chainId,fromAddress,tokenIn,positionOut,amountIn, andreceiver. For the native asset, use0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee.Submit any required setup transactions, then submit the returned
txunchanged.
How Enso does this
The nontokenized routing guide documents the endpoint, parameters, and discovery API. The FAQ says to use a smart wallet with delegate for the nontokenized endpoint. You can also set destinationChainId when a supported cross-chain path exists. This article does not name specific venues.
FAQ
Can I use POST /shortcuts/route for this?
No. Use GET /api/v1/shortcuts/route/nontokenized for non-tokenized destinations.
Which routing strategies are supported?
The nontokenized guide lists router, delegate, and delegate-legacy, with delegate as the usual choice when a smart wallet must retain the position state.
Related articles
What is a tokenized position vs a non-tokenized position?
Tokenized route vs nontokenized route
How do I use Enso with a smart wallet?
How do I handle native token inputs?
How do I discover tokens, vaults, and protocols from the API?
