查询提现手续费
GET /safe/assets/:id/fees
查询某资产的可能提现手续费。手续费可能会随着目的地址/域名以及网络状况变化。
API 端点 URL
https://api.mixin.one/safe/assets/:id/fees
请求示例
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
响应
返回手续费对象数组。
[
{
"type": "withdrawal_fee",
"asset_id": "3596ab64-a575-39ad-964e-43b37f44e8cb",
"amount": "0.001",
"priority": "normal"
}
]
字段说明
| 字段 | 类型 | 说明 |
|---|---|---|
type | string | 对象类型。本接口恒为 withdrawal_fee。 |
asset_id | string | 手续费对应的资产 ID。 |
amount | string | 该优先级下的预估手续费,十进制字符串。 |
priority | string | 手续费优先级,例如 slow、normal、fast。 |