Import
Call this method on a server-side ParaRestClient.
All REST methods can throw ParaRestError for non-success HTTP responses and ParaRestValidationError for invalid local arguments. Use ParaRestCallOptions for idempotency and cancellation.
Request rules
The SDK throws ParaRestValidationError before it sends the request whenwalletId, amount, or options.idempotencyKey is missing.
A chainId without a marketId selects the Aave V3 market on that chain. If you send both, they must match.
Save the complete request and the idempotency key before the first call. After a timeout, send both again unchanged to get the same operation. The same key with a different wallet, market, amount, or autoRetry returns 409.
The API returns HTTP 200 when the operation is confirmed, failed, requires_action, or cancelled, and 202 for other statuses. The method resolves with the operation in both cases. For autoRetry, see Authorize automatic phase recovery.