Utilities
Get server time
GET
/timePublicGet the current server time. Signed requests need an LNM-ACCESS-TIMESTAMP within 30 seconds of it.
OK
application/json- response
time*stringFormat
date-timeimport { createHttpClient } from '@ln-markets/sdk/rest/v3'
const client = createHttpClient()
const result = await client.time(){
"time": "2019-08-24T14:15:22Z"
}