Returns the timestamp offset. Timestamp offsets can only be set in dev mode.
get
Gets the current timestamp offset.
Authorizations
Responses
get
GET /v2/devmode/blocks/offset HTTP/1.1
Host: algo.nownodes.io
X-Algo-API-Token: YOUR_API_KEY
Accept: */*
{
"offset": 1
}
Given a timestamp offset in seconds, adds the offset to every subsequent block header's timestamp.
post
Sets the timestamp offset (seconds) for blocks in dev mode. Providing an offset of 0 will unset this value and try to use the real clock for the timestamp.
Authorizations
Path parameters
offsetintegerRequired
The timestamp offset for blocks in dev mode.
Responses
post
POST /v2/devmode/blocks/offset/{offset} HTTP/1.1
Host: algo.nownodes.io
X-Algo-API-Token: YOUR_API_KEY
Accept: */*