API URL

POST /api/v1/address/legal

Verify the legality of the address format. It can be verified before create a payout request to ensure the receiving address is valid.

Request

Request Parameters

NameTypeRequiredDescription
pidinteger(int64)YesProject ID
addressstringYesAddress
chain_idstringYesChain ID
noncestringYes6-digit random string
timestampinteger(int64)YesTimestamp
signstringYesSignature
Request Example
{
    "pid": 1382528827416576,
    "address": "TXsmKpEuW7qWnXzJLGP9eDLvWPR2GRn1FS",
    "chain_id": "195",
    "nonce": "m8jisx",
    "timestamp": 1687848653294,
    "sign": "cebd2bfd56766f1143dc40d078b64dac"
}

Response

Response Result

NameTypeDescription
codestringResponse code
msgstringResponse message
dataobjectResponse data object

Response data Object

NameTypeDescription
resultbooleantrue: Valid address
false: Invalid address
Response Example
{
  "code": "00000",
  "msg": "ok",
  "data": {
    "result": true
  }
}