---
title: "GET /anchor/writer-lock"
method: GET
path: "/anchor/writer-lock"
tags: ["Anchor"]
---

# GET /anchor/writer-lock

`GET /anchor/writer-lock`

## Response `200`

Success

- AnchorLock
  - `amount_locked` number — A number representing the amount that was locked.
  - `identifier` number — The string representing the identifier of the lock. This is the same value which is passed in the request path.
  - `lock_transaction_time` number — A number representing the transaction time at which the lock became active.
  - `owner` string — A string reprsenting the owner of the lock.
  - `unlock_transaction_time` string — A number representing the transaction time at which the lock became inactive.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found * `value_time_lock_not_found` - Lock not found. * `value_time_lock_in_pending_state` - If there is a lock but is not confirmed on the anchor yet.
- `500` — Server Error

---

[API](https://skmtc.net/decentralized-identity/apis/sidetree-rest-api.md) · [All operations](https://skmtc.net/decentralized-identity/apis/sidetree-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/decentralized-identity/sidetree-rest-api/versions/9a32549ab92a/schema)
