-
Notifications
You must be signed in to change notification settings - Fork 123
Description
Describe the bug
While trying to make API call to the following API endpoint (see "To reproduce" below) the fields "block_time" and "block_time_iso" are not consistent. Random re-runs of the same API call returns different values for these two fields.
"block_time": 1696525605, "block_time_iso": "2023-10-05T17:06:45.000Z",
vs
"block_time": 1722213506, "block_time_iso": "2024-07-29T00:38:26.000Z",
To Reproduce
Steps to reproduce the behavior:
curl -X GET https://api.mainnet.hiro.so/extended/v1/tx/0x07c78aefc1fc1594da8a118f043324e251a539848f50cb3282249fd2da708dbb
- Run the cURL command a few times and the response changes for fields "block_time" and "block_time_iso"
Expected behavior
Expected re-run of same API endpoint to return same API response as before
"block_time": 1696525605, "block_time_iso": "2023-10-05T17:06:45.000Z",
Screenshots
Here's a screenshot of how I reproduced it.
Console log
Truncated response:
Expected:
"block_time": 1696525605, "block_time_iso": "2023-10-05T17:06:45.000Z",
Re-run:
"block_time": 1722213506, "block_time_iso": "2024-07-29T00:38:26.000Z",
Desktop (please complete the following information):
- OS: MacOS
- Browser: N/A
- Version 15.5
Smartphone (please complete the following information):
- Device: N/A
- OS: N/A
- Browser N/A
- Version N/A
Additional context
N/A