All URIs are relative to http://localhost:8000/api/v2
| Method | HTTP request | Description |
|---|---|---|
| timestamp | GET /timestamp | Get server current time, in seconds since Unix epoch. |
'Number' timestamp()
Get server current time, in seconds since Unix epoch.
Get server current time, in seconds since Unix epoch.
var PeatioSdk = require('peatio-sdk');
var apiInstance = new PeatioSdk.TimestampApi();
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.timestamp(callback);This endpoint does not need any parameter.
'Number'
No authorization required
- Content-Type: Not defined
- Accept: application/json