massa icon indicating copy to clipboard operation
massa copied to clipboard

Add current/next slot timestamp to `get_status`

Open aoudiamoncef opened this issue 2 years ago • 0 comments

Actually(testnet18), frontend devs have to calculate the next cycle timestamp based on current cycle:

        "version": "TEST.18.0",
        "current_time": 1674125023084,
        "current_cycle": 651,

Expected:

        "version": "TEST.18.0",
        "current_time": 1674125023084,
        "current_cycle": 651,
        "current_cycle_time": 1674125013084,
        "next_cycle_time": 1674125033084,

aoudiamoncef avatar Jan 19 '23 10:01 aoudiamoncef