Cregis Developer Docs
POST/api/v1/address/legal

Validate Address Format

Validate whether the target address matches the format rules of the specified blockchain. We recommend calling this API before each payout to prevent fund loss caused by invalid address formats.

Rate limit: 1000 requests/minute

Request

Request Body

required

application/json
  • noncestringrequired

    6-character random string.

  • timestampinteger<int64>required

    Timestamp.

  • signstringrequired

    Signature.

  • pidinteger<int64>required

    Project ID.

  • addressstringrequired

    Address.

  • chain_idstringrequired

    Main chain identifier.

Responses

200Success
application/json
  • codestring

    Response code.

  • msgstring

    Response message.

  • dataobject

    Response data.

    • resultboolean

      true: valid address; false: invalid address.