Get relayer's current time
Rate limit: every seconds
API Overview
HTTP method
GET
Path
/api/v3/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 http://aa90cd58e38014a1b864ddc488129b7a-624979106.us-east-2.elb.amazonaws.com/api/v3/timestamp HTTP/1.1
Host: aa90cd58e38014a1b864ddc488129b7a-624979106.us-east-2.elb.amazonaws.com
Connection: keep-alive
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: zh,en;q=0.9
X-API-KEY: sra1aavfacurl -H "X-API-KEY:sra1aavfa" http://aa90cd58e38014a1b864ddc488129b7a-624979106.us-east-2.elb.amazonaws.com/api/v3/timestampResponse fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
| timestamp | integer | N | Current time in millisecond | 1584683483382 |
Response example
{
"timestamp" : 1584683483382
}
Status code
| Value | Description |
|---|---|
| 100000 | Unknown error |