v1

latestOpenAPI 3.0.02026-07-17151326.9 KB
Anchor

Fetches the lock object used for value-time-lock calculation, given the lock identifier.

get/anchor/locks/{lock-identifier}

Path parameters

lock-identifierstring required

Response

Success

amount_lockednumber

A number representing the amount that was locked.

identifiernumber

The string representing the identifier of the lock. This is the same value which is passed in the request path.

lock_transaction_timenumber

A number representing the transaction time at which the lock became active.

ownerstring

A string reprsenting the owner of the lock.

unlock_transaction_timestring

A number representing the transaction time at which the lock became inactive.

Example response

{
  "amount_locked": 1235696,
  "identifier": "gHasdfasodf23230o0jlk23323",
  "lock_transaction_time": 167520,
  "owner": "Hhdofkeio209aanoiyyoiknadfsedsed652",
  "unlock_transaction_time": 167530
}