Get relayer's current time

Rate limit: 5 every second

API Overview


HTTP method

GET

Path

/api/v2/timestamp

Summary

Returns the relayer's current time in millisecond

API description


HTTP Header

Field Type Required Description Example
X-API-KEY string Y ApiKey "HlkcGxbqBeaF76j4rvPaOasyfPwnkQ
6B6DQ6THZWbvrAGxzEdulXQvOKLrRW
ZLnN"

Request parameters

None

Request example

HTTP
CURL
GET https://api.loopring.io/api/v2/timestamp HTTP/1.1
Host: api.loopring.io
Connection: keep-alive
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: zh,en;q=0.9
X-API-KEY: sra1aavfa
curl -H "X-API-KEY:sra1aavfa" https://api.loopring.io/api/v2/timestamp

Response fields

Field Type Required Description Example
resultInfo ResultInfo Y Information returned by the API /
data integer N Current time in millisecond 1584683483382

Response example

{
    "resultInfo" : {
        "code" : 0,
        "message" : "SUCCESS"
    },
    "data" : 1584683483382
}

Status code

Value Description
100000 Unknown error

results matching ""

    No results matching ""