Field | Type | Required | Max Length | Description |
---|---|---|---|---|
query | Object | Y | ||
sellCurrency | String | N | ||
buyCurrency | String | N | ||
createdTimeStart | String | N | ||
createdTimeEnd | String | N | ||
page | Object | Y | ||
current | Number | Y | 2^63 - 1 | |
size | Number | Y | 2^63 - 1 | return max value:50 |
curl --location --request POST 'https://wallet.test.wspn.io/openapi/v1/mint-redeem/search' \
--header 'Content-Type: text/plain' \
--data-raw '{
"query": {
"sellCurrency": "USD",
"buyCurrency": "WUSD",
"createdTimeStart": "2025-01-01 18:33:12",
"createdTimeEnd": "2025-01-03 18:33:12"
},
"pagination": {
"current": 1,
"size": 10
}
}'
{
"header": {
"success": true
},
"resultList": [
{
"id": 250103125,
"status": "COMPLETED",
"sellCurrency": "USD",
"buyCurrency": "WUSD",
"sellAmount": "1000.00",
"buyAmount": "900.00",
"rate": "0.9",
"createdTime": "2025-01-03 17:48:35",
"completedTime": "2025-01-03 17:48:37"
}
],
"pagination": {
"current": 1,
"size": 10,
"pages": 1,
"total": 1
}
}