Home

Get block by slot number

GET
https://ada-blockfrost.nownodes.io/blocks/slot/{slot}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns the block that was produced in the specified absolute slot number.

Parameters

slotinteger<int64>requiredpath

Absolute slot number to look up.

Response

200OK

HTTP 200 response for getBlockBySlot.

400Bad Request

Bad Request. The request is malformed or contains invalid parameters.

401Unauthorized

Unauthorized: API key is present but rejected by the NOWNodes gateway.

422Unprocessable Entity

Missing API key. The NOWNodes gateway returns plain text for this error.

500Internal Server Error

Internal Server Error. The gateway or backend failed while processing the request.