Sync
Gets the minimum sync round for the ledger.
Authorizations
Responses
200
Response containing the ledger's minimum sync round
application/json
400
Sync round not set.
application/json
401
Invalid API Token
application/json
500
Internal Error
application/json
503
Service Temporarily Unavailable
application/json
default
Unknown Error
get
GET /v2/ledger/sync HTTP/1.1
Host: algo.nownodes.io
X-Algo-API-Token: YOUR_API_KEY
Accept: */*
{
"round": 1
}
Unset the ledger sync round.
Authorizations
Responses
200Success
400
Sync round not set.
application/json
401
Invalid API Token
application/json
500
Internal Error
application/json
503
Service Temporarily Unavailable
application/json
default
Unknown Error
delete
DELETE /v2/ledger/sync HTTP/1.1
Host: algo.nownodes.io
X-Algo-API-Token: YOUR_API_KEY
Accept: */*
No content
Sets the minimum sync round on the ledger.
Authorizations
Path parameters
roundintegerRequired
The round for which the deltas are desired.
Responses
200Success
400
Can not set sync round to an earlier round than the current round.
application/json
401
Invalid API Token
application/json
500
Internal Error
application/json
503
Service Temporarily Unavailable
application/json
default
Unknown Error
post
POST /v2/ledger/sync/{round} HTTP/1.1
Host: algo.nownodes.io
X-Algo-API-Token: YOUR_API_KEY
Accept: */*
No content