Skip to main content
GET
Block details

Cost

This endpoint costs 0.1 RU (Request Units) per call.

Authorizations

x-api-key
string
header
required

API key required for authentication. Get your API key at https://developer.kas.fyi

Path Parameters

hash
string
required

Block hash

Example:

"2a0c51fab2a7c7a187299e087a244d1e70acdc75e0214a661c62761e2d6bbf4f"

Query Parameters

include_transactions
boolean

Whether to include transactions. Default is false.

Example:

true

include_payload
boolean

Whether to include the payload of the transaction. Only effective when include_transactions is true. Default is false.

Example:

false

Response

200 - application/json

Block details and transactions for the specified block hash.

Transactions are returned in a separate flat array rather than nested within blocks, as the same transaction can appear in multiple blocks.

block
object
required

Block details

transactions
object[]
required

All transactions in blocks