Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Chainlens Block-Controller API

The Block-Controller API from Chainlens — 2 operation(s) for block-controller.

Chainlens Block-Controller API is one of 38 APIs that Chainlens publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Block-Controller. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 2 operations across 2 paths, and defines 5 schemas. It is described by OpenAPI 3.0.1, at version master.

Requests are made against the base URL https://api.chainlens.com.

2 operations 2 paths 5 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
master
Base URL
https://api.chainlens.com
Resource Areas
1

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

Block-Controller 2
GET
/blocks
Chainlens Retrieve blocks.
findBlocks 1 param → 200
GET
/blocks/{blockHash}
Chainlens Retrieve a block by its hash or height.
getBlock 1 param → 200

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are BlockModel (21 properties), PagingModel (5 properties), FindBlocksQuery (5 properties), BlockRowModel (4 properties). Each schema is shown below with its type and property counts.

BlockRowModel
object
4 properties 4 required
LatestBlockModel
object
2 properties 2 required
FindBlocksQuery
object
5 properties 4 required
PagingModel
object
5 properties 5 required
BlockModel
object
21 properties 20 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

chainlens-block-controller-api-openapi.yml Raw ↑

Other APIs Chainlens publishes across the network.

Chainlens Account-Controller API
Chainlens Account-Mapping-Controller API
Chainlens Account-Tokens-Controller API
Chainlens Account-Transactions-Controller API
Chainlens Block-Transactions-Controller API
Chainlens Configuration-Controller API
Chainlens Contract-Bytecode-Controller API
Chainlens Contract-Controller API
Chainlens Contract-Events-Controller API
Chainlens Contract-Internal-Transactions-Controller API
Chainlens Contract-Transactions-Controller API
Chainlens Dashboard-Tokens-Totals-Controller API