Simulates the amount of shares needed to withdraw a specific amount of assets.
The API response
Indicates whether the API request was successful.
Provides a message related to the API response.
Optional data returned by the API.
const response = await fetch('https://beta.usemoon.ai//erc4626/{account}/previewWithdraw?chainId=text&address=text&assets=text', { method: 'GET', headers: { "Authorization": "text" }, }); const data = await response.json();
{ "success": false, "message": "text" }