Get Asset Configuration
Description
Queries the deposit, withdrawal, and fee settings for a specified asset across various chains. Multiple-chain assets will return multiple records.
HTTP Request
- GET
/api/v3/assetConfigs - Rate Limit: 10 requests per second per UID
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
asset_code | string | Yes | Asset code, e.g., usdt, case-insensitive. |
Response Parameters
Response outer structure:
| Field | Type | Description |
|---|---|---|
code | integer | Business status code; 0 indicates success, other values refer to error codes at the end. |
message | string | Result explanation. Success example is success |
data | object/null | Returns business data of the request upon success, see the table below. Failure returns null. |
extras | object/null | extended fields |
Data fields for internal business: amounts and fees use decimal strings. Int64 uses JSON string, int32 uses JSON integer.
| Field | Type | Description |
|---|---|---|
list | array | Asset configuration list. Empty array if no records. |
list[].assetCode | string/null | Asset code. |
list[].chainName | string/null | Chain name |
list[].canDraw | boolean | Whether on-chain withdrawal is supported. Value: true = supported. False = not supported. |
list[].canStationDraw | boolean | Whether in-app transfer is supported. Value: true = supported. False = not supported. |
list[].canDeposit | boolean | Whether deposit is supported. Values: true = supported. False = not supported. |
list[].hasMemo | boolean | Does deposit require memo/tag? Values: true = required. False = not required. |
list[].contractInfo | string/null | Futures information. |
list[].assetFee | object/null | Fee settings |
list[].assetFee.type | integer/null | Fee type. Enum values: 1 = fixed fee; 2 = percentage-based fee; 3 = fixed fee plus percentage fee. The field can be null. |
list[].assetFee.feeCode | string/null | Fee asset code |
list[].assetFee.scale | integer/null | Withdrawal amount precision |
list[].assetFee.minAmt | string/null | Minimum withdrawal amount. |
list[].assetFee.feeAmt | string/null | Fixed withdrawal fee |
list[].assetFee.feeRate | string/null | Withdrawal fee rate |
list[].assetFee.stationFeeAmt | string/null | Platform transfer fee |
list[].assetFee.stationScale | integer/null | Precision of transfer amount within the platform. |
list[].assetFee.stationMinAmt | string/null | Minimum transfer amount within the platform. |
list[].assetFee.minDepositAmt | string/null | Minimum deposit amount. |
list[].assetFee.depositFee | string/null | Deposit fee |
Request Example
GET /api/v3/assetConfigs?asset_code=usdt HTTP/1.1
Host: openapi.lbank.com
Response Example
{
"code": 0,
"message": "success",
"data": {
"list": [
{
"assetCode": "usdt",
"chainName": "trc20",
"canDraw": true,
"canStationDraw": true,
"canDeposit": true,
"hasMemo": false,
"contractInfo": null,
"assetFee": {
"type": 1,
"feeCode": "usdt",
"scale": 8,
"minAmt": "1",
"feeAmt": "1",
"feeRate": "0",
"stationFeeAmt": "0",
"stationScale": 8,
"stationMinAmt": "0",
"minDepositAmt": "0",
"depositFee": "0"
}
}
]
},
"extras": null
}