Chainlens Blockchain Explorer API

The Chainlens REST API exposes block explorer data for EVM chains including transactions, internal transactions, events, blocks, addresses, tokens, NFTs, and smart contract metadata. Endpoints follow OpenAPI 3 conventions and the EIP-3091 block explorer route standard, supporting real-time on-chain analytics, wallet inspection, contract verification look-up, and reporting pipelines.

OpenAPI Specification

chainlens-openapi.yml Raw ↑
openapi: 3.0.1
info:
  title: 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.
  version: master
externalDocs:
  description: Chainlens Documentation
  url: https://docs.chainlens.com/
paths:
  /transactions:
    get:
      tags:
        - Transaction-Controller
      summary: Chainlens Retrieve transactions by address or block.
      operationId: findTransactions
      parameters:
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindTransactionsQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LatestTransactionModel'
  /transactions/{transactionHash}:
    get:
      tags:
        - Transaction-Controller
      summary: Chainlens Retrieve a transaction by its hash.
      operationId: getTransaction
      parameters:
        - name: transactionHash
          in: path
          description: The hash identifying the transaction.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/TransactionModel'
  /transactions/{transactionHash}/internal-transactions:
    get:
      tags:
        - Internal-Transactions-Controller
      summary: Chainlens Retrieve all internal transactions for this transaction.
      operationId: getInternalsByTx
      parameters:
        - name: transactionHash
          in: path
          description: >-
            The transaction hash identifying the transaction that contains the
            events.
          required: true
          schema:
            type: string
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindInternalTransactionsQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LatestInternalTransactionModel'
  /transactions/{transactionHash}/events:
    get:
      tags:
        - Transaction-Events-Controller
      summary: Chainlens Retrieve all events for this transaction.
      operationId: getTransactionEvents
      parameters:
        - name: transactionHash
          in: path
          description: >-
            The transaction hash identifying the transaction that contains the
            events.
          required: true
          schema:
            type: string
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/TransactionEventsQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/EventsModel'
  /tokens:
    get:
      tags:
        - Token-Controller
      summary: Chainlens Retrieve token contracts.
      operationId: findTokens
      parameters:
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindTokensQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ListTokenModel'
  /tokens/{addressHash}:
    get:
      tags:
        - Token-Controller
      summary: Chainlens Retrieve a token by its address hash.
      operationId: getToken
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the contract.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/TokenModel'
  /tokens/{addressHash}/{tokenId}:
    get:
      tags:
        - Token-Controller
      summary: Chainlens Retrieve token contracts by tokenId.
      operationId: findTokensByTokenId
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the contract.
          required: true
          schema:
            type: string
        - name: tokenId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/TokenModel'
  /tokens/{addressHash}/transactions:
    get:
      tags:
        - Token-Transactions-Controller
      summary: Chainlens Retrieve token transactions by token address hash.
      operationId: findContractTransactions
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the token.
          required: true
          schema:
            type: string
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindAddressTransactionsQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LatestTransactionModel'
  /tokens/{addressHash}/holders:
    get:
      tags:
        - Token-Holders-Controller
      summary: Chainlens Retrieve a list of token holders by token contract address hash.
      operationId: getTokenHolders
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the contract.
          required: true
          schema:
            type: string
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindTokenBalanceQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/TokenBalancesModel'
  /tokens/{addressHash}/events:
    get:
      tags:
        - Token-Events-Controller
      summary: Chainlens Retrieve all token events using token address.
      operationId: getTokenEvents
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the token.
          required: true
          schema:
            type: string
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/TransactionEventsQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/EventsModel'
  /tokens/{addressHash}/erc777/transfers:
    get:
      tags:
        - Erc-777-Transfers-Controller
      summary: Chainlens Retrieve transfers of an ERC777 Token.
      operationId: findERC777Transfers
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the token.
          required: true
          schema:
            type: string
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindERC777TransfersQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LatestERC777TransfersModel'
  /tokens/{addressHash}/erc721/transfers:
    get:
      tags:
        - Erc-721-Transfers-Controller
      summary: Chainlens Retrieve transfers of an ERC721 Token.
      operationId: findERC721Transfers
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the token.
          required: true
          schema:
            type: string
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindERC721TransfersQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LatestERC721TransfersModel'
  /tokens/{addressHash}/erc721/transfers/{tokenId}:
    get:
      tags:
        - Erc-721-Transfers-Controller
      summary: Chainlens Retrieve transfers of an ERC721 Token.
      operationId: findERC721Transfers_1
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the token.
          required: true
          schema:
            type: string
        - name: tokenId
          in: path
          description: The token id identifying the token.
          required: true
          schema:
            type: string
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindERC721TransfersQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LatestERC721TransfersModel'
  /tokens/{addressHash}/erc223/transfers:
    get:
      tags:
        - Erc-223-Transfers-Controller
      summary: Chainlens Retrieve transfers of an ERC223 Token.
      operationId: findERC20Transfers
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the token.
          required: true
          schema:
            type: string
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindERC223TransfersQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LatestERC223TransfersModel'
  /tokens/{addressHash}/erc20/transfers:
    get:
      tags:
        - Erc-20-Transfers-Controller
      summary: Chainlens Retrieve transfers of an ERC20 Token.
      operationId: findERC20Transfers_1
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the token.
          required: true
          schema:
            type: string
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindERC20TransfersQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LatestERC20TransfersModel'
  /tokens/{addressHash}/erc1155/transfers:
    get:
      tags:
        - Erc-1155-Transfers-Controller
      summary: Chainlens Retrieve transfers of an ERC1155 Token.
      operationId: findERC1155Transfers
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the token.
          required: true
          schema:
            type: string
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindERC1155TransfersQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LatestERC1155TransfersModel'
  /tokens/{addressHash}/erc1155/transfers/{tokenId}:
    get:
      tags:
        - Erc-1155-Transfers-Controller
      summary: Chainlens Retrieve transfers of an ERC1155 Token.
      operationId: findERC1155Transfers_1
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the token.
          required: true
          schema:
            type: string
        - name: tokenId
          in: path
          description: The address hash identifying the token.
          required: true
          schema:
            type: string
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindERC1155TransfersQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LatestERC1155TransfersModel'
  /token/{addressHash}:
    get:
      tags:
        - Eip-3091-Controller
      operationId: getToken_1
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the token type.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/TokenModel'
  /token-type/{addressHash}:
    get:
      tags:
        - Eip-3091-Controller
      operationId: getTokenType
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the token type.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/AddressResponse'
  /search/:
    get:
      tags:
        - Search-Controller
      summary: Chainlens Retrieve blocks, transactions, accounts by hash.
      operationId: search
      parameters:
        - name: query
          in: query
          description: The search query string.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ListSearchResultModel'
  /search:
    get:
      tags:
        - Search-Controller
      summary: Chainlens Retrieve blocks, transactions, accounts by hash.
      operationId: search_1
      parameters:
        - name: query
          in: query
          description: The search query string.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ListSearchResultModel'
  /rwas:
    get:
      tags:
        - Rwa-Controller
      summary: Chainlens Retrieve ERC3643 tokens.
      operationId: findTokens_1
      parameters:
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindTokensQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ListTokenModel'
  /rwas/{addressHash}:
    get:
      tags:
        - Rwa-Controller
      summary: Chainlens Retrieve a ERC3643 by its address hash.
      operationId: getToken_2
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the contract.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/TokenModel'
  /rwas/{addressHash}/{tokenId}/metadata:
    get:
      tags:
        - Rwa-Controller
      summary: Chainlens Retrieve token metadata for a given token contract address and token id.
      operationId: getTokenMetadata
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the contract.
          required: true
          schema:
            type: string
        - name: tokenId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/MetadataImageLink'
  /rwas/{addressHash}/holders:
    get:
      tags:
        - Rwa-Controller
      summary: Chainlens Retrieve a list of token holders by token contract address hash.
      operationId: getTokenHolders_1
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the contract.
          required: true
          schema:
            type: string
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindTokenBalanceQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/TokenBalancesModel'
  /rwas/{addressHash}/erc3643/transfers:
    get:
      tags:
        - Rwa-Controller
      summary: Chainlens Retrieve transfers of an ERC3643 Token.
      operationId: findERC3643Transfers
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the token.
          required: true
          schema:
            type: string
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindERC3643TransfersQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LatestERC3643TransfersModel'
  /node/details:
    get:
      tags:
        - Node-Controller
      summary: Chainlens Node details.
      operationId: details
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/NodeInfoModel'
  /nfts:
    get:
      tags:
        - Nft-Controller
      summary: Chainlens Retrieve NFTs.
      operationId: findTokens_2
      parameters:
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindTokensQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ListTokenModel'
  /nfts/{addressHash}:
    get:
      tags:
        - Nft-Controller
      summary: Chainlens Retrieve a NFT by its address hash.
      operationId: getToken_3
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the contract.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/TokenModel'
  /nfts/{addressHash}/{tokenId}:
    get:
      tags:
        - Nft-Controller
      summary: Chainlens Retrieve NFT contracts by tokenId.
      operationId: findTokensByTokenId_1
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the contract.
          required: true
          schema:
            type: string
        - name: tokenId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/TokenModel'
  /nfts/{addressHash}/{tokenId}/metadata:
    get:
      tags:
        - Nft-Controller
      summary: Chainlens Retrieve token metadata for a given token contract address and token id.
      operationId: getTokenMetadata_1
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the contract.
          required: true
          schema:
            type: string
        - name: tokenId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/MetadataImageLink'
  /nfts/{addressHash}/holders:
    get:
      tags:
        - Nft-Controller
      summary: Chainlens Retrieve a list of token holders by token contract address hash.
      operationId: getTokenHolders_2
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the contract.
          required: true
          schema:
            type: string
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindTokenBalanceQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/TokenBalancesModel'
  /nfts/{addressHash}/erc721/transfers:
    get:
      tags:
        - Nft-Controller
      summary: Chainlens Retrieve transfers of an ERC721 Token.
      operationId: findERC721Transfers_2
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the token.
          required: true
          schema:
            type: string
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindERC721TransfersQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LatestERC721TransfersModel'
  /nfts/{addressHash}/erc1155/transfers:
    get:
      tags:
        - Nft-Controller
      summary: Chainlens Retrieve transfers of an ERC1155 Token.
      operationId: findERC1155Transfers_2
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the token.
          required: true
          schema:
            type: string
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindERC1155TransfersQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LatestERC1155TransfersModel'
  /nfts/{addressHash}/collections:
    get:
      tags:
        - Nft-Controller
      summary: Chainlens Retrieve all NFTs with Metadata.
      operationId: findNftCollections
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the contract.
          required: true
          schema:
            type: string
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindCollectionQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ListCollectionItemModel'
  /metadata/{swarmHash}:
    get:
      tags:
        - Metadata-Controller
      summary: Chainlens Retrieve metadata.
      operationId: getMetadata
      parameters:
        - name: swarmHash
          in: path
          description: The swarm hash of the metadata.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/MetadataModel'
  /metadata/{fileId}/contracts:
    get:
      tags:
        - Metadata-Controller
      summary: Chainlens list contracts by swarmhash
      operationId: findContractsBySwarmHash
      parameters:
        - name: fileId
          in: path
          description: The file id of the metadata.
          required: true
          schema:
            type: string
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindContractsQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LatestContractModel'
  /mappings:
    get:
      tags:
        - Account-Mapping-Controller
      summary: Chainlens Retrieve Accounts
      operationId: findAccounts
      parameters:
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindAccountMappingQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LatestAccountMappingModel'
  /mappings/{id}:
    get:
      tags:
        - Account-Mapping-Controller
      operationId: getAccount
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/AccountMappingModel'
  /internal-transactions:
    get:
      tags:
        - Internal-Transactions-Controller
      summary: Chainlens Retrieve internal transactions by address.
      operationId: findTransactions_1
      parameters:
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindInternalTransactionsQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LatestInternalTransactionModel'
  /gas/price:
    get:
      tags:
        - Gas-Oracle-Controller
      summary: Chainlens Gas price oracle.
      operationId: gasPriceInfo
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/GasPriceModel'
  /events:
    get:
      tags:
        - Events-Controller
      summary: Chainlens Retrieve all events.
      operationId: getEvents
      parameters:
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/TransactionEventsQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/EventsModel'
  /download/abi/{contractAddress}:
    get:
      tags:
        - Download-Abi-Controller
      summary: Chainlens Download ABI for a verified contract
      operationId: downloadAbi
      parameters:
        - name: contractAddress
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: string
                format: byte
  /dashboard/transactions/totals:
    get:
      tags:
        - Dashboard-Transactions-Totals-Controller
      summary: Chainlens Retrieve total number of different transactions types
      operationId: getTotals
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DashboardTotalsModel'
  /dashboard/transactions/totals/{period}:
    get:
      tags:
        - Dashboard-Transactions-Totals-Controller
      summary: Chainlens Retrieve total number of different transactions types
      operationId: getTotals_1
      parameters:
        - name: period
          in: path
          required: true
          schema:
            type: string
            enum:
              - Nanos
              - Micros
              - Millis
              - Seconds
              - Minutes
              - Hours
              - HalfDays
              - Days
              - Weeks
              - Months
              - Years
              - Decades
              - Centuries
              - Millennia
              - Eras
              - Forever
        - name: from
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: to
          in: query
          required: false
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DashboardTimeseriesTotalsModel'
  /dashboard/totals:
    get:
      tags:
        - Dashboard-Totals-Controller
      summary: Chainlens Retrieve total number of Contracts, Tokens and Transactions.
      operationId: getDashboardTotals
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DashboardTotalsModel'
  /dashboard/tokens/totals:
    get:
      tags:
        - Dashboard-Tokens-Totals-Controller
      summary: Chainlens Retrieve total number of different token types
      operationId: getTokenTotals
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DashboardTotalsModel'
  /contracts:
    get:
      tags:
        - Contract-Controller
      summary: Chainlens Retrieve contracts.
      operationId: findContracts
      parameters:
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindContractsQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LatestContractModel'
  /contracts/{addressHash}:
    get:
      tags:
        - Contract-Controller
      summary: Chainlens Retrieve a contract by its address hash.
      operationId: getContract
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the contract.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ContractModel'
  /contracts/{addressHash}/transactions:
    get:
      tags:
        - Contract-Transactions-Controller
      summary: Chainlens Retrieve contract transactions by its address hash.
      operationId: findContractTransactions_1
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the contract.
          required: true
          schema:
            type: string
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindAddressTransactionsQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LatestTransactionModel'
  /contracts/{addressHash}/internal-transactions:
    get:
      tags:
        - Contract-Internal-Transactions-Controller
      summary: Chainlens Retrieve contract internal transactions by its address hash.
      operationId: findContractTransactions_2
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the contract.
          required: true
          schema:
            type: string
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/FindInternalTransactionsQuery'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LatestInternalTransactionModel'
  /contracts/{addressHash}/events:
    get:
      tags:
        - Contract-Events-Controller
      summary: Chainlens Retrieve all events for this contract.
      operationId: getContractEvents
      parameters:
        - name: addressHash
          in: path
          description: The address hash identifying the

# --- truncated at 32 KB (94 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/chainlens/refs/heads/main/openapi/chainlens-openapi.yml