v1

latestOpenAPI 3.0.1Apache 2.02026-07-26142209237.7 KB
Time Locks

getTimeLocksDay

Get data about time locks by day. On Mina, some accounts have funds locked on their accounts. With time, they get unlocked either by vesting (gradually with time increments), or cliff mechanism (all at once).

get/v1/time-locks/day

Query parameters

pageinteger required

Queried API page.

sizeinteger required

Number of queried entries.

orderBy'ASC' | 'DESC' required

Sorting method: from the lowest element to the highest (ASC) or from the highest element to the lowest (DESC).

sortBy'TIMESTAMP' | 'UNLOCK' | 'CUMULATIVE_PERCENT_OF_TOTAL_LOCKS' | 'PERCENT_OF_TOTAL_LOCKS' | 'LOCK_AMOUNT' | 'TIMESTAMP' | 'UNLOCK' | 'CUMULATIVE_PERCENT_OF_TOTAL_LOCKS' | 'PERCENT_OF_TOTAL_LOCKS' | 'LOCK_AMOUNT' required

Select sorting parameter.

isLockedOnlyboolean required

Flag showing if queried accounts have locked funds.

Response

OK

currentPageinteger
sizeinteger
totalItemsinteger
totalPagesinteger
lastboolean
totalElementsinteger
numberinteger
firstboolean
numberOfElementsinteger
emptyboolean