Home

Get block

GET
https://xtz-index.nownodes.io/v1/blocks/{blockId}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns a block at the specified level.

Parameters

blockIdstringrequiredpath

Block level, block hash, or ISO 8601 timestamp.

operationsbooleanfalsequery

Flag indicating whether to include block operations into returned object or not

michelinestringJsonJsonStringRawRawStringJsonquery

Format of the parameters, storage and diffs: 0 - JSON, 1 - JSON string, 2 - raw micheline, 3 - raw micheline string

quotestringNoneBtcEurUsdCnyJpyKrwEthGbpNonequery

Comma-separated list of ticker symbols to inject historical prices into response

Response

200OK

Successful response.

400Bad Request

Invalid request.