> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openxswitch.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Wallet as a Service: How To Check Withdrawal Fees

You can retrieve withdrawal fees using either of the following methods:

1. **Fee Estimation Endpoint** \
   `POST`[/estimate-withdrawal-fee](https://docs.openxswitch.com/api-reference/fee-endpoints/estimate-withdrawal-fee)\
   **Request Body**
   ```json theme={null}
   {
     "amount": "10",
     "coin": "USDT",
     "chain": "ERC20"
   }
   ```
   \
   **Successful Response**\
   If the request is accepted successfully, the API returns a `200 OK` response with the swap details.
   ```json highlight={6,15} theme={null}
   {
     "success": true,
     "data": {
       "coin": "USDT",
       "chain": "ERC20",
       "withdrawFee": "0.5",
       "minWithdrawAmount": "10",
       "withdrawable": true
     }
   }
   ```
2. **Supported Currency & Blockchain Metadata -** [mix-endpoints/get-list-of-rechargeable-currencies](https://docs.openxswitch.com/api-reference/mix-endpoints/get-list-of-rechargeable-currencies)\
   Withdrawal fees are also returned when retrieving supported currencies and blockchain networks\
   **Example response:**
   ```json highlight={15} theme={null}
   {
     "success": true,
     "data": [
       {
         "coin": "USDT",
         "iconUrl": "https://cdn.openxswitch.com/public/logos/svg/usdt.svg",
         "chains": [
           {
             "chain": "ERC20",
             "needTag": "false",
             "depositConfirm": "12",
             "withdrawConfirm": "64",
             "minDepositAmount": "0.001",
             "minWithdrawAmount": "10",
             "withdrawFee": "0.01",
             "txUrl": "https://etherscan.io/tx/"
           }
         ]
       }
     ],
     "totalPage": 0,
     "pageNo": 0,
     "pageLimit": 0
   }
   ```

In this example:

* Supported blockchain: `ERC20`
* Minimum withdrawal amount: `10`
* Withdrawal fee: `0.01`
* Required withdrawal confirmations: `64`
