Skip to main content
GET
Get current block color

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 to check color for

Example:

"fc4c90a646687ba6f862e6089285dd7a610ef4d7f7614d25295f65aceb02bc41"

Response

200 - application/json

Block color retrieved successfully

blue
boolean
required

Whether the block is blue (true) or red (false)

Example:

true