Skip to main content

Add Deposit Address

Description​

Create a deposit address for a specific asset and chain.

HTTP Request​

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

Request Parameters​

FieldTypeRequiredDescription
coinstringYesAsset code.
network_namestringYesChain name

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. Original example is null, specific structure is not defined and pending confirmation.

data fields for internal business use:

FieldTypeDescription
coinstringAsset code.
networkNamestringChain name
addressstring/nullCreate a new deposit address
memostring/nullDeposit memo/tag. If no memo is required, it should be an empty string or null.

Request Example​

POST /api/v3/supplement/add_deposit_address 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",
"network_name": "trc20"
}

Response Example​

{
"code": 0,
"message": "success",
"data": {
"coin": "usdt",
"networkName": "trc20",
"address": "T9yD14Nj9j7xAB4dbGeiX9h8unkKHxuWwb",
"memo": ""
},
"extras": null
}