Epoch Renewal

POST/v1/files/:blobId/renew

Extends the storage period of a file on Walrus Protocol by purchasing additional epochs. Files that are not renewed will expire and become inaccessible once their storage period ends.

Request Body

FieldTypeDescription
epochsintegerNumber of additional epochs to purchase (each ~1 day)

Example Request

curl -X POST https://api.tuskr.dev/v1/files/abc123/renew \
  -H "Authorization: Bearer tsk_live_xxxx" \
  -H "Content-Type: application/json" \
  -d '{ "epochs": 30 }'

See Also