# 查询目标链GAS费接口

### **接口调用**

<mark style="color:green;">`POST`</mark> `https://{host}/api/v1/chainFeeList`

1、请求方式为**POST `application/json`**

#### Request Body

| Name                                       | Type   | Description |
| ------------------------------------------ | ------ | ----------- |
| coinCode<mark style="color:red;">\*</mark> | String | 币种简称（例如ETH） |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
    "data": [
        {
            "chainFee": "0.001",//兑换完成发币需扣除的网络手续费
            "coinCode": "BNB(BSC)"
        }
    ],
    "resCode": "800",
    "resMsg": "成功",
    "resMsgEn": ""
}
```

{% endtab %}
{% endtabs %}

**1. 接口调用：**

```
https://{host}/api/v1/chainFeeList
```

**2. 请求参数示例**

| 参数       | 是否必须 | 说明                        |
| -------- | ---- | ------------------------- |
| coinCode | 是    | <p>币种简称（例如ETH)</p><p></p> |

**3. 请求参数示例**

```
{
    "coinCode": "BNB(BSC)"
}
```

**4. 返回参数示例**

```
{
    "data": [
        {
            "chainFee": "0.001",//兑换完成发币需扣除的网络手续费
            "coinCode": "BNB(BSC)"
        }
    ],
    "resCode": "800",
    "resMsg": "成功",
    "resMsgEn": ""
}
```

**5. 返回参数说明**

<table><thead><tr><th>字段名称</th><th>字段</th><th width="250">数据类型</th><th>备注</th></tr></thead><tbody><tr><td>手续费用</td><td>chianFee</td><td>String</td><td>兑换完成发币需扣除的网络手续费</td></tr><tr><td>币种简称</td><td>coinCode</td><td>String</td><td>币种简称</td></tr></tbody></table>

### 调用示例

#### Postman示例

![](https://3392740180-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSTh_zo_IUKEGh-Qy-n-3765750170%2Fuploads%2Fo9nGlaL5uZdDihldRZxx%2F1646978301\(7\).png?alt=media\&token=cf2ee387-21fb-4629-b716-94ccbb548dc3)

#### 返回结果示例

```
{
    "data": [
        {
            "chainFee": "0.001",//兑换完成发币需扣除的网络手续费
            "coinCode": "BNB(BSC)"
        }
    ],
    "resCode": "800",
    "resMsg": "成功",
    "resMsgEn": ""
}
```
