Skip to main content

Get Asset Details

Description​

Query the deposit and withdrawal status and fees for available assets

HTTP Request​

  • POST /api/v3/supplement/asset_detail
  • Rate Limit: 10 requests per second per UID

Request Parameters​

FieldTypeRequiredDescription
coinstringNoAsset codes, separated by English commas. When coin is empty, query all withdrawable assets.

Response Parameters​

Response outer structure:

FieldTypeDescription
codeintegerBusiness status code; 0 indicates success
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.

data.details uses asset codes as keys. For multi-chain assets, the three status fields are aggregated based on any chain being enabled. The amount field takes the first defined value from the fee list for the same asset. This interface does not provide fee queries for specific chains. For chain-based withdrawals, the corresponding chain settings should be confirmed via the asset configuration query interface, and the withdrawal result shall be validated by the service-side endpoint.

FieldTypeDescription
detailsobjectAn object with asset codes as keys. Returns error code 10008 if no available assets, no valid assets after filtering, or if all asset configurations are missing. Does not return an empty success object.
details.{coin}.withdrawStatusbooleanWhether withdrawal is allowed. Value: true=withdrawal allowed. False=withdrawal not allowed. If any chain of multi-chain assets is enabled for withdrawal, it is true, which does not imply that a specific chain is available for withdrawal.
details.{coin}.depositStatusbooleanWhether deposit is allowed. Value: true=deposit allowed. False=deposit not allowed. If any chain of multi-chain assets is enabled for deposit, it is true, which does not imply that a specific chain is available for deposit.
details.{coin}.stationDrawStatusbooleanWhether in-app transfer is allowed. Value: true = in-app transfer allowed. False = in-app transfer not allowed. If any chain of multi-chain assets enables in-app transfer, it is true.
details.{coin}.minWithdrawAmountstringMinimum withdrawal amount, in decimal string format. If no fee is specified or if the corresponding amount is not defined, "0" will be returned. For multi-chain assets, the value is taken from the first entry in the fee list for the same asset, not the minimum withdrawal amount for a specific chain.
details.{coin}.withdrawFeestringWithdrawal fee, in decimal string. If no fee is specified or the corresponding amount is not provided, "0" is returned. For multi-chain assets, the fee value is taken from the first entry in the fee list for the same asset. It is not the withdrawal quote for a specific chain.

Request Example​

POST /api/v3/supplement/asset_detail HTTP/1.1
Host: openapi.lbank.com
Content-Type: application/json
ex-api-key: <your_api_key>
ex-timestamp: <current_unix_timestamp_ns>
ex-nonce: <unique_random_hex>
ex-signature: <your_signature>
ex-client-type: API

{
"coin": "usdt"
}

Response Example​

{
"code": 0,
"message": "success",
"data": {
"details": {
"usdt": {
"withdrawStatus": true,
"depositStatus": true,
"stationDrawStatus": true,
"minWithdrawAmount": "1",
"withdrawFee": "1"
}
}
},
"extras": null
}