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 Account-Tokens-Controller API

The Account-Tokens-Controller API from Chainlens — 3 operation(s) for account-tokens-controller.

Chainlens Account-Tokens-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 Account-Tokens-Controller. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

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

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

3 operations 3 paths 17 schemas 3 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 3

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

Account-Tokens-Controller 3
GET
/accounts/{addressHash}/tokens
Chainlens Retrieve token holdings by account.
findAccountTokens 2 params → 200
GET
/accounts/{addressHash}/nfts
Chainlens Retrieve NFT items by account.
findAccountNFTs 2 params → 200
GET
/accounts/{addressHash}/collection/{tokenAddress}
Chainlens Retrieve a non-fungible item holdings for an account.
findAccountCollectionItems 3 params → 200

Schemas 17

The contract defines 17 schemas that model the data the API accepts and returns. The most detailed are TokenModel (19 properties), TokenBalancesRowModel (11 properties), CollectionMetadataModel (10 properties), ProjectModel (8 properties). Each schema is shown below with its type and property counts.

Link
object
3 properties 3 required
TokenBalancesModel
object
3 properties 3 required
TokenModel
object
19 properties 5 required
ProjectModel
object
8 properties 2 required
TokenBalancesRowModel
object
11 properties 6 required
TokenBalancesByHolderRowModel
object
4 properties 4 required
FindAccountTokenHoldingsQuery
object
5 properties 4 required
CollectionItemsModel
object
2 properties 2 required
CollectionMetadataModel
object
10 properties 1 required
AddressInfo
object
7 properties 4 required
SocialLink
object
2 properties 2 required
PagingModel
object
5 properties 5 required
FindCollectionItemsHoldingsQuery
object
5 properties 4 required
MarketDataModel
object
8 properties 7 required
TokenBalancesMetaData
object
1 property 1 required
Attribute
object
2 properties 2 required
CollectionItem
object
6 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

chainlens-account-tokens-controller-api-openapi.yml Raw ↑

Other APIs Chainlens publishes across the network.

Chainlens Account-Controller API
Chainlens Account-Mapping-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
Chainlens Dashboard-Tokens-Totals-Controller API