Chainlens · Capability

Chainlens

Chainlens provides a robust and intuitive platform combining user-friendly exploration with powerful analytics and advanced features. Whether monitoring real-time blockchain transactions, verifying smart contracts, or tracking NFTs, Chainlens ensures you have all the necessary tools at your fingertips.

Run with Naftiko ChainlensAPI

What You Can Do

GET
Findtransactions — Chainlens Retrieve transactions by address or block.
/transactions
GET
Gettransaction — Chainlens Retrieve a transaction by its hash.
/transactions/{transactionHash}
GET
Getinternalsbytx — Chainlens Retrieve all internal transactions for this transaction.
/transactions/{transactionHash}/internal-transactions
GET
Gettransactionevents — Chainlens Retrieve all events for this transaction.
/transactions/{transactionHash}/events
GET
Findtokens — Chainlens Retrieve token contracts.
/tokens
GET
Gettoken — Chainlens Retrieve a token by its address hash.
/tokens/{addressHash}
GET
Findtokensbytokenid — Chainlens Retrieve token contracts by tokenId.
/tokens/{addressHash}/{tokenId}
GET
Findcontracttransactions — Chainlens Retrieve token transactions by token address hash.
/tokens/{addressHash}/transactions
GET
Gettokenholders — Chainlens Retrieve a list of token holders by token contract address hash.
/tokens/{addressHash}/holders
GET
Gettokenevents — Chainlens Retrieve all token events using token address.
/tokens/{addressHash}/events
GET
Finderc777transfers — Chainlens Retrieve transfers of an ERC777 Token.
/tokens/{addressHash}/erc777/transfers
GET
Finderc721transfers — Chainlens Retrieve transfers of an ERC721 Token.
/tokens/{addressHash}/erc721/transfers
GET
Finderc721transfers 1 — Chainlens Retrieve transfers of an ERC721 Token.
/tokens/{addressHash}/erc721/transfers/{tokenId}
GET
Finderc20transfers — Chainlens Retrieve transfers of an ERC223 Token.
/tokens/{addressHash}/erc223/transfers
GET
Finderc20transfers 1 — Chainlens Retrieve transfers of an ERC20 Token.
/tokens/{addressHash}/erc20/transfers
GET
Finderc1155transfers — Chainlens Retrieve transfers of an ERC1155 Token.
/tokens/{addressHash}/erc1155/transfers
GET
Finderc1155transfers 1 — Chainlens Retrieve transfers of an ERC1155 Token.
/tokens/{addressHash}/erc1155/transfers/{tokenId}
GET
Gettoken 1 — GET /token/{addressHash}
/token/{addressHash}
GET
Gettokentype — GET /token-type/{addressHash}
/token-type/{addressHash}
GET
Search — Chainlens Retrieve blocks, transactions, accounts by hash.
/search/
GET
Search 1 — Chainlens Retrieve blocks, transactions, accounts by hash.
/search
GET
Findtokens 1 — Chainlens Retrieve ERC3643 tokens.
/rwas
GET
Gettoken 2 — Chainlens Retrieve a ERC3643 by its address hash.
/rwas/{addressHash}
GET
Gettokenmetadata — Chainlens Retrieve token metadata for a given token contract address and token id.
/rwas/{addressHash}/{tokenId}/metadata
GET
Gettokenholders 1 — Chainlens Retrieve a list of token holders by token contract address hash.
/rwas/{addressHash}/holders
GET
Finderc3643transfers — Chainlens Retrieve transfers of an ERC3643 Token.
/rwas/{addressHash}/erc3643/transfers
GET
Details — Chainlens Node details.
/node/details
GET
Findtokens 2 — Chainlens Retrieve NFTs.
/nfts
GET
Gettoken 3 — Chainlens Retrieve a NFT by its address hash.
/nfts/{addressHash}
GET
Findtokensbytokenid 1 — Chainlens Retrieve NFT contracts by tokenId.
/nfts/{addressHash}/{tokenId}
GET
Gettokenmetadata 1 — Chainlens Retrieve token metadata for a given token contract address and token id.
/nfts/{addressHash}/{tokenId}/metadata
GET
Gettokenholders 2 — Chainlens Retrieve a list of token holders by token contract address hash.
/nfts/{addressHash}/holders
GET
Finderc721transfers 2 — Chainlens Retrieve transfers of an ERC721 Token.
/nfts/{addressHash}/erc721/transfers
GET
Finderc1155transfers 2 — Chainlens Retrieve transfers of an ERC1155 Token.
/nfts/{addressHash}/erc1155/transfers
GET
Findnftcollections — Chainlens Retrieve all NFTs with Metadata.
/nfts/{addressHash}/collections
GET
Getmetadata — Chainlens Retrieve metadata.
/metadata/{swarmHash}
GET
Findcontractsbyswarmhash — Chainlens list contracts by swarmhash
/metadata/{fileId}/contracts
GET
Findaccounts — Chainlens Retrieve Accounts
/mappings
GET
Getaccount — GET /mappings/{id}
/mappings/{id}
GET
Findtransactions 1 — Chainlens Retrieve internal transactions by address.
/internal-transactions
GET
Gaspriceinfo — Chainlens Gas price oracle.
/gas/price
GET
Getevents — Chainlens Retrieve all events.
/events
GET
Downloadabi — Chainlens Download ABI for a verified contract
/download/abi/{contractAddress}
GET
Gettotals — Chainlens Retrieve total number of different transactions types
/dashboard/transactions/totals
GET
Gettotals 1 — Chainlens Retrieve total number of different transactions types
/dashboard/transactions/totals/{period}
GET
Getdashboardtotals — Chainlens Retrieve total number of Contracts, Tokens and Transactions.
/dashboard/totals
GET
Gettokentotals — Chainlens Retrieve total number of different token types
/dashboard/tokens/totals
GET
Findcontracts — Chainlens Retrieve contracts.
/contracts
GET
Getcontract — Chainlens Retrieve a contract by its address hash.
/contracts/{addressHash}
GET
Findcontracttransactions 1 — Chainlens Retrieve contract transactions by its address hash.
/contracts/{addressHash}/transactions
GET
Findcontracttransactions 2 — Chainlens Retrieve contract internal transactions by its address hash.
/contracts/{addressHash}/internal-transactions
GET
Getcontractevents — Chainlens Retrieve all events for this contract.
/contracts/{addressHash}/events
GET
Getcontractbytecode — Chainlens Retrieves bytecodes for a deployed contract.
/contracts/{addressHash}/bytecode
GET
Getcontenttype — GET /content-type/get
/content-type/get
GET
Frontendconfiguration — Chainlens frontend configuration.
/configuration/frontend
GET
Getrecommendedtokensbyprojects — Chainlens Get a list of all recommended collections
/collections/recommended
GET
Findblocks — Chainlens Retrieve blocks.
/blocks
GET
Getblock — Chainlens Retrieve a block by its hash or height.
/blocks/{blockHash}
GET
Getblocktransactions — Chainlens Retrieve all transactions for this block.
/blocks/{blockHash}/transactions
GET
Getaddress — GET /address/{addressHash}
/address/{addressHash}

MCP Tools

findtransactions

Chainlens Retrieve transactions by address or block.

read-only idempotent
gettransaction

Chainlens Retrieve a transaction by its hash.

read-only idempotent
getinternalsbytx

Chainlens Retrieve all internal transactions for this transaction.

read-only idempotent
gettransactionevents

Chainlens Retrieve all events for this transaction.

read-only idempotent
findtokens

Chainlens Retrieve token contracts.

read-only idempotent
gettoken

Chainlens Retrieve a token by its address hash.

read-only idempotent
findtokensbytokenid

Chainlens Retrieve token contracts by tokenId.

read-only idempotent
findcontracttransactions

Chainlens Retrieve token transactions by token address hash.

read-only idempotent
gettokenholders

Chainlens Retrieve a list of token holders by token contract address hash.

read-only idempotent
gettokenevents

Chainlens Retrieve all token events using token address.

read-only idempotent
finderc777transfers

Chainlens Retrieve transfers of an ERC777 Token.

read-only idempotent
finderc721transfers

Chainlens Retrieve transfers of an ERC721 Token.

read-only idempotent
finderc721transfers-1

Chainlens Retrieve transfers of an ERC721 Token.

read-only idempotent
finderc20transfers

Chainlens Retrieve transfers of an ERC223 Token.

read-only idempotent
finderc20transfers-1

Chainlens Retrieve transfers of an ERC20 Token.

read-only idempotent
finderc1155transfers

Chainlens Retrieve transfers of an ERC1155 Token.

read-only idempotent
finderc1155transfers-1

Chainlens Retrieve transfers of an ERC1155 Token.

read-only idempotent
gettoken-1

GET /token/{addressHash}

read-only idempotent
gettokentype

GET /token-type/{addressHash}

read-only idempotent
search

Chainlens Retrieve blocks, transactions, accounts by hash.

read-only idempotent
search-1

Chainlens Retrieve blocks, transactions, accounts by hash.

read-only idempotent
findtokens-1

Chainlens Retrieve ERC3643 tokens.

read-only idempotent
gettoken-2

Chainlens Retrieve a ERC3643 by its address hash.

read-only idempotent
gettokenmetadata

Chainlens Retrieve token metadata for a given token contract address and token id.

read-only idempotent
gettokenholders-1

Chainlens Retrieve a list of token holders by token contract address hash.

read-only idempotent
finderc3643transfers

Chainlens Retrieve transfers of an ERC3643 Token.

read-only idempotent
details

Chainlens Node details.

read-only idempotent
findtokens-2

Chainlens Retrieve NFTs.

read-only idempotent
gettoken-3

Chainlens Retrieve a NFT by its address hash.

read-only idempotent
findtokensbytokenid-1

Chainlens Retrieve NFT contracts by tokenId.

read-only idempotent
gettokenmetadata-1

Chainlens Retrieve token metadata for a given token contract address and token id.

read-only idempotent
gettokenholders-2

Chainlens Retrieve a list of token holders by token contract address hash.

read-only idempotent
finderc721transfers-2

Chainlens Retrieve transfers of an ERC721 Token.

read-only idempotent
finderc1155transfers-2

Chainlens Retrieve transfers of an ERC1155 Token.

read-only idempotent
findnftcollections

Chainlens Retrieve all NFTs with Metadata.

read-only idempotent
getmetadata

Chainlens Retrieve metadata.

read-only idempotent
findcontractsbyswarmhash

Chainlens list contracts by swarmhash

read-only idempotent
findaccounts

Chainlens Retrieve Accounts

read-only idempotent
getaccount

GET /mappings/{id}

read-only idempotent
findtransactions-1

Chainlens Retrieve internal transactions by address.

read-only idempotent
gaspriceinfo

Chainlens Gas price oracle.

read-only idempotent
getevents

Chainlens Retrieve all events.

read-only idempotent
downloadabi

Chainlens Download ABI for a verified contract

read-only idempotent
gettotals

Chainlens Retrieve total number of different transactions types

read-only idempotent
gettotals-1

Chainlens Retrieve total number of different transactions types

read-only idempotent
getdashboardtotals

Chainlens Retrieve total number of Contracts, Tokens and Transactions.

read-only idempotent
gettokentotals

Chainlens Retrieve total number of different token types

read-only idempotent
findcontracts

Chainlens Retrieve contracts.

read-only idempotent
getcontract

Chainlens Retrieve a contract by its address hash.

read-only idempotent
findcontracttransactions-1

Chainlens Retrieve contract transactions by its address hash.

read-only idempotent
findcontracttransactions-2

Chainlens Retrieve contract internal transactions by its address hash.

read-only idempotent
getcontractevents

Chainlens Retrieve all events for this contract.

read-only idempotent
getcontractbytecode

Chainlens Retrieves bytecodes for a deployed contract.

read-only idempotent
getcontenttype

GET /content-type/get

read-only idempotent
frontendconfiguration

Chainlens frontend configuration.

read-only idempotent
getrecommendedtokensbyprojects

Chainlens Get a list of all recommended collections

read-only idempotent
findblocks

Chainlens Retrieve blocks.

read-only idempotent
getblock

Chainlens Retrieve a block by its hash or height.

read-only idempotent
getblocktransactions

Chainlens Retrieve all transactions for this block.

read-only idempotent
getaddress

GET /address/{addressHash}

read-only idempotent

Capability Spec

chainlens-capability.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Chainlens
  description: Chainlens provides a robust and intuitive platform combining user-friendly exploration with powerful analytics
    and advanced features. Whether monitoring real-time blockchain transactions, verifying smart contracts, or tracking NFTs,
    Chainlens ensures you have all the necessary tools at your fingertips.
  tags:
  - Chainlens
  - API
  created: '2026-05-06'
  modified: '2026-05-06'
capability:
  consumes:
  - type: http
    namespace: chainlens
    baseUri: https://api.example.com
    description: Chainlens HTTP API.
    resources:
    - name: transactions
      path: /transactions
      operations:
      - name: findtransactions
        method: GET
        description: Chainlens Retrieve transactions by address or block.
        inputParameters:
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: transactions-transactionhash
      path: /transactions/{transactionHash}
      operations:
      - name: gettransaction
        method: GET
        description: Chainlens Retrieve a transaction by its hash.
        inputParameters:
        - name: transactionHash
          in: path
          type: string
          required: true
          description: The hash identifying the transaction.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: transactions-transactionhash-internal-transactio
      path: /transactions/{transactionHash}/internal-transactions
      operations:
      - name: getinternalsbytx
        method: GET
        description: Chainlens Retrieve all internal transactions for this transaction.
        inputParameters:
        - name: transactionHash
          in: path
          type: string
          required: true
          description: The transaction hash identifying the transaction that contains the events.
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: transactions-transactionhash-events
      path: /transactions/{transactionHash}/events
      operations:
      - name: gettransactionevents
        method: GET
        description: Chainlens Retrieve all events for this transaction.
        inputParameters:
        - name: transactionHash
          in: path
          type: string
          required: true
          description: The transaction hash identifying the transaction that contains the events.
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: tokens
      path: /tokens
      operations:
      - name: findtokens
        method: GET
        description: Chainlens Retrieve token contracts.
        inputParameters:
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: tokens-addresshash
      path: /tokens/{addressHash}
      operations:
      - name: gettoken
        method: GET
        description: Chainlens Retrieve a token by its address hash.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the contract.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: tokens-addresshash-tokenid
      path: /tokens/{addressHash}/{tokenId}
      operations:
      - name: findtokensbytokenid
        method: GET
        description: Chainlens Retrieve token contracts by tokenId.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the contract.
        - name: tokenId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: tokens-addresshash-transactions
      path: /tokens/{addressHash}/transactions
      operations:
      - name: findcontracttransactions
        method: GET
        description: Chainlens Retrieve token transactions by token address hash.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the token.
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: tokens-addresshash-holders
      path: /tokens/{addressHash}/holders
      operations:
      - name: gettokenholders
        method: GET
        description: Chainlens Retrieve a list of token holders by token contract address hash.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the contract.
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: tokens-addresshash-events
      path: /tokens/{addressHash}/events
      operations:
      - name: gettokenevents
        method: GET
        description: Chainlens Retrieve all token events using token address.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the token.
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: tokens-addresshash-erc777-transfers
      path: /tokens/{addressHash}/erc777/transfers
      operations:
      - name: finderc777transfers
        method: GET
        description: Chainlens Retrieve transfers of an ERC777 Token.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the token.
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: tokens-addresshash-erc721-transfers
      path: /tokens/{addressHash}/erc721/transfers
      operations:
      - name: finderc721transfers
        method: GET
        description: Chainlens Retrieve transfers of an ERC721 Token.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the token.
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: tokens-addresshash-erc721-transfers-tokenid
      path: /tokens/{addressHash}/erc721/transfers/{tokenId}
      operations:
      - name: finderc721transfers-1
        method: GET
        description: Chainlens Retrieve transfers of an ERC721 Token.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the token.
        - name: tokenId
          in: path
          type: string
          required: true
          description: The token id identifying the token.
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: tokens-addresshash-erc223-transfers
      path: /tokens/{addressHash}/erc223/transfers
      operations:
      - name: finderc20transfers
        method: GET
        description: Chainlens Retrieve transfers of an ERC223 Token.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the token.
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: tokens-addresshash-erc20-transfers
      path: /tokens/{addressHash}/erc20/transfers
      operations:
      - name: finderc20transfers-1
        method: GET
        description: Chainlens Retrieve transfers of an ERC20 Token.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the token.
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: tokens-addresshash-erc1155-transfers
      path: /tokens/{addressHash}/erc1155/transfers
      operations:
      - name: finderc1155transfers
        method: GET
        description: Chainlens Retrieve transfers of an ERC1155 Token.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the token.
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: tokens-addresshash-erc1155-transfers-tokenid
      path: /tokens/{addressHash}/erc1155/transfers/{tokenId}
      operations:
      - name: finderc1155transfers-1
        method: GET
        description: Chainlens Retrieve transfers of an ERC1155 Token.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the token.
        - name: tokenId
          in: path
          type: string
          required: true
          description: The address hash identifying the token.
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: token-addresshash
      path: /token/{addressHash}
      operations:
      - name: gettoken-1
        method: GET
        description: GET /token/{addressHash}
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the token type.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: token-type-addresshash
      path: /token-type/{addressHash}
      operations:
      - name: gettokentype
        method: GET
        description: GET /token-type/{addressHash}
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the token type.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search
      path: /search/
      operations:
      - name: search
        method: GET
        description: Chainlens Retrieve blocks, transactions, accounts by hash.
        inputParameters:
        - name: query
          in: query
          type: string
          required: true
          description: The search query string.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: search
      path: /search
      operations:
      - name: search-1
        method: GET
        description: Chainlens Retrieve blocks, transactions, accounts by hash.
        inputParameters:
        - name: query
          in: query
          type: string
          required: true
          description: The search query string.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: rwas
      path: /rwas
      operations:
      - name: findtokens-1
        method: GET
        description: Chainlens Retrieve ERC3643 tokens.
        inputParameters:
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: rwas-addresshash
      path: /rwas/{addressHash}
      operations:
      - name: gettoken-2
        method: GET
        description: Chainlens Retrieve a ERC3643 by its address hash.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the contract.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: rwas-addresshash-tokenid-metadata
      path: /rwas/{addressHash}/{tokenId}/metadata
      operations:
      - name: gettokenmetadata
        method: GET
        description: Chainlens Retrieve token metadata for a given token contract address and token id.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the contract.
        - name: tokenId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: rwas-addresshash-holders
      path: /rwas/{addressHash}/holders
      operations:
      - name: gettokenholders-1
        method: GET
        description: Chainlens Retrieve a list of token holders by token contract address hash.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the contract.
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: rwas-addresshash-erc3643-transfers
      path: /rwas/{addressHash}/erc3643/transfers
      operations:
      - name: finderc3643transfers
        method: GET
        description: Chainlens Retrieve transfers of an ERC3643 Token.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the token.
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: node-details
      path: /node/details
      operations:
      - name: details
        method: GET
        description: Chainlens Node details.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: nfts
      path: /nfts
      operations:
      - name: findtokens-2
        method: GET
        description: Chainlens Retrieve NFTs.
        inputParameters:
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: nfts-addresshash
      path: /nfts/{addressHash}
      operations:
      - name: gettoken-3
        method: GET
        description: Chainlens Retrieve a NFT by its address hash.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the contract.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: nfts-addresshash-tokenid
      path: /nfts/{addressHash}/{tokenId}
      operations:
      - name: findtokensbytokenid-1
        method: GET
        description: Chainlens Retrieve NFT contracts by tokenId.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the contract.
        - name: tokenId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: nfts-addresshash-tokenid-metadata
      path: /nfts/{addressHash}/{tokenId}/metadata
      operations:
      - name: gettokenmetadata-1
        method: GET
        description: Chainlens Retrieve token metadata for a given token contract address and token id.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the contract.
        - name: tokenId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: nfts-addresshash-holders
      path: /nfts/{addressHash}/holders
      operations:
      - name: gettokenholders-2
        method: GET
        description: Chainlens Retrieve a list of token holders by token contract address hash.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the contract.
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: nfts-addresshash-erc721-transfers
      path: /nfts/{addressHash}/erc721/transfers
      operations:
      - name: finderc721transfers-2
        method: GET
        description: Chainlens Retrieve transfers of an ERC721 Token.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the token.
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: nfts-addresshash-erc1155-transfers
      path: /nfts/{addressHash}/erc1155/transfers
      operations:
      - name: finderc1155transfers-2
        method: GET
        description: Chainlens Retrieve transfers of an ERC1155 Token.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the token.
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: nfts-addresshash-collections
      path: /nfts/{addressHash}/collections
      operations:
      - name: findnftcollections
        method: GET
        description: Chainlens Retrieve all NFTs with Metadata.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the contract.
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: metadata-swarmhash
      path: /metadata/{swarmHash}
      operations:
      - name: getmetadata
        method: GET
        description: Chainlens Retrieve metadata.
        inputParameters:
        - name: swarmHash
          in: path
          type: string
          required: true
          description: The swarm hash of the metadata.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: metadata-fileid-contracts
      path: /metadata/{fileId}/contracts
      operations:
      - name: findcontractsbyswarmhash
        method: GET
        description: Chainlens list contracts by swarmhash
        inputParameters:
        - name: fileId
          in: path
          type: string
          required: true
          description: The file id of the metadata.
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: mappings
      path: /mappings
      operations:
      - name: findaccounts
        method: GET
        description: Chainlens Retrieve Accounts
        inputParameters:
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: mappings-id
      path: /mappings/{id}
      operations:
      - name: getaccount
        method: GET
        description: GET /mappings/{id}
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: internal-transactions
      path: /internal-transactions
      operations:
      - name: findtransactions-1
        method: GET
        description: Chainlens Retrieve internal transactions by address.
        inputParameters:
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: gas-price
      path: /gas/price
      operations:
      - name: gaspriceinfo
        method: GET
        description: Chainlens Gas price oracle.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: events
      path: /events
      operations:
      - name: getevents
        method: GET
        description: Chainlens Retrieve all events.
        inputParameters:
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: download-abi-contractaddress
      path: /download/abi/{contractAddress}
      operations:
      - name: downloadabi
        method: GET
        description: Chainlens Download ABI for a verified contract
        inputParameters:
        - name: contractAddress
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: dashboard-transactions-totals
      path: /dashboard/transactions/totals
      operations:
      - name: gettotals
        method: GET
        description: Chainlens Retrieve total number of different transactions types
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: dashboard-transactions-totals-period
      path: /dashboard/transactions/totals/{period}
      operations:
      - name: gettotals-1
        method: GET
        description: Chainlens Retrieve total number of different transactions types
        inputParameters:
        - name: period
          in: path
          type: string
          required: true
        - name: from
          in: query
          type: integer
        - name: to
          in: query
          type: integer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: dashboard-totals
      path: /dashboard/totals
      operations:
      - name: getdashboardtotals
        method: GET
        description: Chainlens Retrieve total number of Contracts, Tokens and Transactions.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: dashboard-tokens-totals
      path: /dashboard/tokens/totals
      operations:
      - name: gettokentotals
        method: GET
        description: Chainlens Retrieve total number of different token types
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: contracts
      path: /contracts
      operations:
      - name: findcontracts
        method: GET
        description: Chainlens Retrieve contracts.
        inputParameters:
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: contracts-addresshash
      path: /contracts/{addressHash}
      operations:
      - name: getcontract
        method: GET
        description: Chainlens Retrieve a contract by its address hash.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the contract.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: contracts-addresshash-transactions
      path: /contracts/{addressHash}/transactions
      operations:
      - name: findcontracttransactions-1
        method: GET
        description: Chainlens Retrieve contract transactions by its address hash.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the contract.
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: contracts-addresshash-internal-transactions
      path: /contracts/{addressHash}/internal-transactions
      operations:
      - name: findcontracttransactions-2
        method: GET
        description: Chainlens Retrieve contract internal transactions by its address hash.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the contract.
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: contracts-addresshash-events
      path: /contracts/{addressHash}/events
      operations:
      - name: getcontractevents
        method: GET
        description: Chainlens Retrieve all events for this contract.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the contract.
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: contracts-addresshash-bytecode
      path: /contracts/{addressHash}/bytecode
      operations:
      - name: getcontractbytecode
        method: GET
        description: Chainlens Retrieves bytecodes for a deployed contract.
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the contract.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: content-type-get
      path: /content-type/get
      operations:
      - name: getcontenttype
        method: GET
        description: GET /content-type/get
        inputParameters:
        - name: url
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: configuration-frontend
      path: /configuration/frontend
      operations:
      - name: frontendconfiguration
        method: GET
        description: Chainlens frontend configuration.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: collections-recommended
      path: /collections/recommended
      operations:
      - name: getrecommendedtokensbyprojects
        method: GET
        description: Chainlens Get a list of all recommended collections
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: blocks
      path: /blocks
      operations:
      - name: findblocks
        method: GET
        description: Chainlens Retrieve blocks.
        inputParameters:
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: blocks-blockhash
      path: /blocks/{blockHash}
      operations:
      - name: getblock
        method: GET
        description: Chainlens Retrieve a block by its hash or height.
        inputParameters:
        - name: blockHash
          in: path
          type: string
          required: true
          description: The hash or height identifying the block.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: blocks-blockhash-transactions
      path: /blocks/{blockHash}/transactions
      operations:
      - name: getblocktransactions
        method: GET
        description: Chainlens Retrieve all transactions for this block.
        inputParameters:
        - name: blockHash
          in: path
          type: string
          required: true
          description: The address hash or height identifying the block.
        - name: query
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: address-addresshash
      path: /address/{addressHash}
      operations:
      - name: getaddress
        method: GET
        description: GET /address/{addressHash}
        inputParameters:
        - name: addressHash
          in: path
          type: string
          required: true
          description: The address hash identifying the address type.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    port: 8080
    namespace: chainlens-rest
    description: REST adapter for Chainlens.
    resources:
    - path: /transactions
      name: findtransactions
      operations:
      - method: GET
        name: findtransac

# --- truncated at 32 KB (83 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/chainlens/refs/heads/main/capabilities/chainlens-capability.yaml