API URL

POST /api/v1/address/inner

Check if the address belongs to the corresponding project. After create the order/address deposit, you can validate the returned address information to prevent the address from being tampered with.

Request

Request Parameters

NameTypeRequiredDescription
pidinteger(int64)trueProject ID
addressstringtrueAddress
chain_idstringtrueChain ID
noncestringtrue6-character random string
timestampinteger(int64)trueTimestamp
signstringtrueSignature
Request Example
{
    "pid": 1382528827416576,
    "address": "TXsmKpEuW7qWnXzJLGP9eDLvWPR2GRn1FS",
    "chain_id": "195",
    "nonce": "tvccuh",
    "timestamp": 1687849472174,
    "sign": "48036043999446485fe0d20a838a00dc"
}

Response

Response Result

NameTypeDescription
codestringResponse code
msgstringResponse message
dataobjectResponse data object

Response data Object

NameTypeDescription
resultboolean

true: Address is within the project
false: Address is not within the project

Response Example
{
  "code": "00000",
  "msg": "ok",
  "data": {
    "result": false
  }
}