Skip to main content

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​

FieldTypeRequiredDescription
asset_codestringYesAsset code, e.g., usdt, case-insensitive.

Response Parameters​

Response outer structure:

FieldTypeDescription
codeintegerBusiness status code; 0 indicates success, other values refer to error codes at the end.
messagestringResult explanation. Success example is success
dataobject/nullReturns business data of the request upon success, see the table below. Failure returns null.
extrasobject/nullextended fields

Data fields for internal business: amounts and fees use decimal strings. Int64 uses JSON string, int32 uses JSON integer.

FieldTypeDescription
listarrayAsset configuration list. Empty array if no records.
list[].assetCodestring/nullAsset code.
list[].chainNamestring/nullChain name
list[].canDrawbooleanWhether on-chain withdrawal is supported. Value: true = supported. False = not supported.
list[].canStationDrawbooleanWhether in-app transfer is supported. Value: true = supported. False = not supported.
list[].canDepositbooleanWhether deposit is supported. Values: true = supported. False = not supported.
list[].hasMemobooleanDoes deposit require memo/tag? Values: true = required. False = not required.
list[].contractInfostring/nullFutures information.
list[].assetFeeobject/nullFee settings
list[].assetFee.typeinteger/nullFee type. Enum values: 1 = fixed fee; 2 = percentage-based fee; 3 = fixed fee plus percentage fee. The field can be null.
list[].assetFee.feeCodestring/nullFee asset code
list[].assetFee.scaleinteger/nullWithdrawal amount precision
list[].assetFee.minAmtstring/nullMinimum withdrawal amount.
list[].assetFee.feeAmtstring/nullFixed withdrawal fee
list[].assetFee.feeRatestring/nullWithdrawal fee rate
list[].assetFee.stationFeeAmtstring/nullPlatform transfer fee
list[].assetFee.stationScaleinteger/nullPrecision of transfer amount within the platform.
list[].assetFee.stationMinAmtstring/nullMinimum transfer amount within the platform.
list[].assetFee.minDepositAmtstring/nullMinimum deposit amount.
list[].assetFee.depositFeestring/nullDeposit 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
}