List Withdrawal Fees
GET /safe/assets/:id/fees
List potential withdrawal fees for an asset. Fees may depend on the destination address/domain and network conditions.
Endpoint URL
https://api.mixin.one/safe/assets/:id/fees
Example request
curl -i -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" https://api.mixin.one/safe/assets/3596ab64-a575-39ad-964e-43b37f44e8cb/fees?destination=0x0000000000000000000000000000000000000000&domain=ens
Response
A JSON array of fee objects.
[
{
"type": "withdrawal_fee",
"asset_id": "3596ab64-a575-39ad-964e-43b37f44e8cb",
"amount": "0.001",
"priority": "normal"
}
]
Response fields
| Field | Type | Description |
|---|---|---|
type | string | Object type. Always withdrawal_fee for this endpoint. |
asset_id | string | The asset id the fee applies to. |
amount | string | Estimated fee amount for the given priority tier. Decimal string. |
priority | string | Priority tier for the fee, e.g. slow, normal, fast. |