1 Set request parameters, query params:
entrustIds:180554928,180554929,180554930
timestamp:1725865024825
entrustIds=180554928,180554929,180554930×tamp=1725865024825
3 Sign the parameter string format, result:
0xb431bdc9b2bdd65c37b2eb2dcb337f7f31118933e8a4bdf0dd85825163c98cb36e3eb0fb180fc671388e7225617f1f45b32a7717e12a40fa2c9f3f3893e75a351c
4 Assemble the complete request
curl --location --request POST 'https://zk-test.satori.finance/api/third/order/batchCancelEntrust?entrustIds=180554928,180554929,180554930×tamp=1725865024825' \
--header 'APIKEY: st_fq6cvRF4fr5tnKiZfrIntRnLfrwxcXjcfr1y8FR7' \
--header 'X-SAPI-SIGN-TYPE: 2' \
--header 'signature: 0xb431bdc9b2bdd65c37b2eb2dcb337f7f31118933e8a4bdf0dd85825163c98cb36e3eb0fb180fc671388e7225617f1f45b32a7717e12a40fa2c9f3f3893e75a351c' \
--header 'Content-Type: text/plain' \
--data ''
{
"error": false,
"code": 200,
"msg": "SUCCESS",
"data": true,
"sid": "1809700645462351873"
}