GET /api/contractTimestamp
GET
/api/contractTimestampget the contract timestamp if any. This contract define the current time, can be used to accelrate time in testing
Responses
GET
/api/contractTimestampSamples
cURL
curl -X GET http://localhost/api/contractTimestamp
JavaScript
fetch("http://localhost/api/contractTimestamp")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/contractTimestamp");
Python
import requests
response = requests.get("http://localhost/api/contractTimestamp")
print(response.json())