Deals
List the gateway wallet's deals
Requires scope files:read.
iNote
Requires a key with the files:read scope, sent as Authorization: Bearer <api-key>. Keys missing the scope are rejected with 403 — see Authentication.Errors
| Code | Meaning |
|---|---|
| 401 | Invalid or missing API key. |
| 403 | The API key lacks the required scope for this operation. |
cURL
curl https://gateway.kepto.xyz/api/v1/deals \
-H "Authorization: Bearer <api-key>"200 · application/json
{
"deals": [
{
"dealId": 0,
"client": "string",
"provider": "string",
"merkleRoot": "string",
"sizeBytes": 0,
"leafCount": 0,
"status": "None",
"createdAt": 0,
"startTime": 0,
"endTime": 0,
"durationSeconds": 0,
"totalPriceKep": "string",
"collateralKep": "string",
"paidOutKep": "string",
"faultCount": 0
}
]
}