RWA

Flag an attested asset whose attestation has expired

Requires scope service:operate (operator keys only); funded mutation (503 MAINTENANCE while paused). Mirror of the on-chain flagStale call. Once the attestation validity window has passed, the asset returns to Registered and its attestor approvals reset.

POST/api/v1/rwa/{assetId}/staleTry it
iNote
Requires a key with the service:operate scope, sent as Authorization: Bearer <api-key>. Keys missing the scope are rejected with 403 — see Authentication.
!Heads up
Executes a real on-chain transaction on Robinhood testnet, funded by the gateway wallet. Returns 503 while funded mutations are paused for maintenance.

Path parameters

NameInTypeDescription
assetIdrequiredpathinteger

Errors

CodeMeaning
400Rejected, e.g. attestation still current.
401Invalid or missing API key.
403The API key lacks the required scope for this operation.
503Funded mutations are paused for maintenance. Sent with a Retry-After header (seconds).
cURL
curl -X POST https://gateway.kepto.xyz/api/v1/rwa/<assetId>/stale \
  -H "Authorization: Bearer <api-key>"
200 · application/json
{
  "assetId": 0,
  "name": "string",
  "assetType": "string",
  "metadataURI": "string",
  "status": "None",
  "declaredValueKep": "string",
  "issuer": "string",
  "owner": "string",
  "attestor": "string",
  "registeredAt": 0,
  "attestedAt": 0,
  "attestationCount": 0,
  "attestationsRequired": 0,
  "attestationCurrent": true,
  "backingIntact": true,
  "documents": [
    {
      "index": 0,
      "dealId": 0,
      "merkleRoot": "string",
      "label": "string"
    }
  ]
}