Epoch Renewal
POST
/v1/files/:blobId/renewExtends 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
| Field | Type | Description |
|---|---|---|
| epochs | integer | Number 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 }'