Skip to main content
GET /v2/amplify/calculateWithdrawalFee returns the fee a user would be charged for redeeming a specific offerAmount of shares for a given wantAsset. Use this endpoint to preview fees in a withdrawal confirmation UI before submitting the order via GET /v2/amplify/withdraw.
The withdrawal endpoint already accounts for fees — you do not need to call calculateWithdrawalFee before preparing withdrawal calldata. It exists purely for display.

Parameters

Example

Response

Error Responses