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 Metadata-Controller API

The Metadata-Controller API from Chainlens — 2 operation(s) for metadata-controller.

Chainlens Metadata-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 Metadata-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 7 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 7 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.

Metadata-Controller 2
GET
/metadata/{swarmHash}
Chainlens Retrieve metadata.
getMetadata 1 param → 200
GET
/metadata/{fileId}/contracts
Chainlens list contracts by swarmhash
findContractsBySwarmHash 2 params → 200

Schemas 7

The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are ContractRowModel (14 properties), AddressInfo (7 properties), PagingModel (5 properties), FindContractsQuery (5 properties). Each schema is shown below with its type and property counts.

ContractRowModel
object
14 properties 12 required
Link
object
3 properties 3 required
LatestContractModel
object
2 properties 2 required
MetadataModel
object
3 properties 3 required
AddressInfo
object
7 properties 4 required
FindContractsQuery
object
5 properties 4 required
PagingModel
object
5 properties 5 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

chainlens-metadata-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-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