Skip to main content
POST
Get blocks

Cost

This endpoint costs 0.5 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

Body

application/json
includeBlocks
boolean
required

Whether to include blocks in the response

Example:

true

includeTransactions
boolean
required

Whether to include transactions in the response

Example:

true

lowHash
string

Low hash to start from

Example:

"fc4c90a646687ba6f862e6089285dd7a610ef4d7f7614d25295f65aceb02bc41"

Response

200 - application/json

Blocks retrieved successfully

blockHashes
string[]
required

Array of block hashes

Example:
blocks
object[]
required

Array of complete block data (if includeBlocks was true)