Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions network-rfc/11_portal_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,12 @@ Returns a JSON object with `.number` and `.hash` of the highest block available

This endpoint is supposed to be used for diagnostic purposes.

### `GET /datasets/<dataset>/timestamps/<timestamp>/block`

Accepts a unix timestamp (in seconds) and returns a single number — the number of the first block with timestamp greater or equal to the requested one.

Returns "404 Not Found" if such block doesn't exist.

## Additional response headers

### Finalized head headers
Expand Down