Cregis Developer Docs
POST/api/v1/sub_address_withdrawal/info

Query Sub-address Withdrawal Information

Query the current status and on-chain information of a sub-address withdrawal by Cregis transaction ID.

Rate limit: 1000 requests/minute

Request

Request Body

required

application/json
  • noncestringrequired

    6-character random string.

  • timestampinteger<int64>required

    Timestamp, in milliseconds.

  • signstringrequired

    Signature.

  • pidinteger<int64>required

    Project ID.

  • cidinteger<int64>required

    System serial number, the cid returned in the sub-address withdrawal response data.

Responses

200Success
application/json
  • codestring

    Response code.

  • msgstring

    Response message.

  • dataobject

    Response data.

    • pidinteger<int64>

      Project ID.

    • chain_idstring

      Main chain identifier.

    • token_idstring

      Token ID.

    • currencystring

      Currency identifier.

    • from_addressstring

      Sender address.

    • to_addressstring

      Recipient address.

    • amountstring

      Amount.

    • third_party_idstring

      Caller business ID.

    • statusinteger
      enum: 0, 1, 2, 3, 4, 5, 6, 7

      Status.

      statusDescription
      0Pending approval
      4Approval rejected
      5Pending signature
      1Signature approved
      2Signature rejected
      6Transaction successful
      7Transaction failed
    • txidstring

      Transaction hash.

    • block_heightstring

      Block height.

    • block_timestring

      Block time.

    • remarkstring

      Remark.

    • memostring

      On-chain memo/tag information. Supported only by TON and XRP.