API URL

POST /api/v1/address/create

Request

Request Parameters

ParameterTypeRequiredDescription
pidinteger(int64)YesProject ID
chain_idstringYesChain ID
aliasstringNoDisplay Name
callback_urlstringYesCallback URL, If funds are received through an address generated by this API, refer to Callback > Address Deposit section for callback details.
noncestringYes6-character random string
timestampinteger(int64)YesTimestamp
signstringYesSignature
Request Example
{
  "pid": 1382528827416576,
  "callback_url": "http://xxxx.com/deposit/callback",
  "chain_id": "60",
  "alias": "cc",
  "nonce": "ubqso3",
  "timestamp": 1687850657960,
  "sign": "f5be13fdd8c6f63951ca4427359457cb"
}

Response

Response Result

NameTypeDescription
codestringResponse code
msgstringResponse message
dataobjectResponse data object

Response data Object

NameTypeDescription
addressstringAddress
Response Example
{
  "code": "00000",
  "msg": "ok",
  "data": {
    "address": "TBotPUNNgeSJmqWkSE7JoHdAnsdMyVnUca"
  }
}