Batch Upload Transaction Hash

1. Request Url

https://{host}/api/v2/batchModifyTxId

2. Request Param

3.Request Example

{
  "modifyTxIdList": [
    {
      "orderId": "33434232-1556-yt6g-99a8-2c303f490c2c",
      "depositTxid": "0x643ccccccccccccccc4c4"
    },
    {
      "orderId": "33120af8-1866-4cb6-99a8-2c303f490c2c",
      "depositTxid": "0x123aaaaaaaaaaaaaaaaa6"
    }
  ]
}

4.Response Data

{
    "resCode": "800",
    "resMsg": "成功",
    "data": {
        "successNum": 1, // Number of successfully uploaded orders
        "failIds": [     // The set of order ids that failed to be uploaded, the reason for the failure: the order already has a hash, and the uploaded hash is not standardized
            "1"
        ]
    }
}

Last updated