Prepare an Aave position unwind
Returns an unsigned Pool.withdraw transaction that exits an Aave position straight to the project's deposit address, so the existing deposit pipeline ingests the proceeds. Nothing is executed: the holding EOA owns the aTokens, so only it can authorise the withdraw, and the service holds no key on this path. The amount is capped server-side against Aave's full withdraw validation and is refused outright if the proceeds would fall foul of the project's deposit policy — that check happens here because this is the last point before an irreversible signature.
Path parameters
The EOA holding the position. It signs and sends the returned transaction.
The EOA holding the position. It signs and sends the returned transaction.
Headers
API key for authentication
API key for authentication
API version identifier (e.g. "2026-04.amazon"). Optional today, will become required in a future release.
API version identifier (e.g. "2026-04.amazon"). Optional today, will become required in a future release.
Request body
Example request
{
"chainId": 8453,
"amount": "1000000000000000000"
}Response
Unsigned withdraw transaction