Covalent Get Log Events By Topic Hash API

The get-log-events-by-topic-hash API from Covalent — 1 operation(s) for get-log-events-by-topic-hash.

GitHub OpenAPI
Business capability
On-Chain Data & Indexing AE-240.30

Operations 1

GET /v1/{chainName}/events/topics/{topicHash}/ Get log events by topic hash #

Documentation

📖
Documentation
https://goldrush.dev/docs/api-reference/foundational-api/
📖
Documentation
https://goldrush.dev/docs/api-reference/foundational-api/balance-service
📖
Documentation
https://goldrush.dev/docs/api-reference/foundational-api/transactions-service
📖
Documentation
https://goldrush.dev/docs/api-reference/foundational-api/nft-service
📖
Documentation
https://goldrush.dev/docs/api-reference/foundational-api/base-service
📖
Documentation
https://goldrush.dev/docs/api-reference/foundational-api/cross-chain-activity
📖
Documentation
https://goldrush.dev/docs/api-reference/foundational-api/security-service
📖
Documentation
https://goldrush.dev/docs/api-reference/foundational-api/pricing-service
📖
Documentation
https://goldrush.dev/docs/api-reference/streaming-api/
📖
Documentation
https://goldrush.dev/docs/api-reference/pipeline-api/
📖
Documentation
https://goldrush.dev/docs/api-reference/pipeline-api/quickstart
📖
Documentation
https://goldrush.dev/docs/api-reference/pipeline-api/architecture
📖
Documentation
https://goldrush.dev/docs/api-reference/pipeline-api/destinations
📖
Documentation
https://goldrush.dev/docs/api-reference/pipeline-api/abi-decoding
📖
Documentation
https://goldrush.dev/docs/api-reference/hyperliquid/info-api/
📖
Documentation
https://goldrush.dev/docs/api-reference/hyperliquid/info-api/migration-guide
📖
Documentation
https://goldrush.dev/docs/api-reference/hyperliquid/info-api/limits
📖
Documentation
https://goldrush.dev/docs/api-reference/foundational-api/x402

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/covalent:covalent-get-log-events-by-topic-hash-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

covalent-get-log-events-by-topic-hash-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GoldRush Multichain Data Get Log Events By Topic Hash API
  version: 1.0.0
  description: Covalent's GoldRush Multichain Data APIs OpenAPI Schema.
servers:
- url: https://api.covalenthq.com
security:
- bearerAuth: []
tags:
- name: get-log-events-by-topic-hash
paths:
  /v1/{chainName}/events/topics/{topicHash}/:
    get:
      tags:
      - get-log-events-by-topic-hash
      description: Returns all event logs of the same topic hash across all contracts within a particular chain. Useful for cross-sectional analysis of event logs that are emitted on-chain.
      operationId: getLogEventsByTopicHash
      parameters:
      - name: chainName
        in: path
        description: 'The chain name eg: `eth-mainnet`.'
        required: true
        schema:
          type: string
      - name: topicHash
        in: path
        description: The endpoint will return event logs that contain this topic hash.
        required: true
        schema:
          type: string
      - name: starting-block
        in: query
        description: The first block to retrieve log events with. Accepts decimals, hexadecimals, or the strings `earliest` and `latest`.
        required: false
        schema:
          type: integer
      - name: ending-block
        in: query
        description: The last block to retrieve log events with. Accepts decimals, hexadecimals, or the strings `earliest` and `latest`.
        required: false
        schema:
          type: string
      - name: secondary-topics
        in: query
        description: Additional topic hash(es) to filter on - padded & unpadded address fields are supported. Separate multiple topics with a comma.
        required: false
        schema:
          type: string
      - name: page-size
        in: query
        description: Number of items per page. Omitting this parameter defaults to 100.
        required: false
        schema:
          type: integer
      - name: page-number
        in: query
        description: 0-indexed page number to begin pagination.
        required: false
        schema:
          type: integer
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  updated_at:
                    type: string
                    format: date-time
                    description: The timestamp when the response was generated. Useful to show data staleness to users.
                  chain_id:
                    type: integer
                    description: 'The requested chain ID eg: `1`.'
                  chain_name:
                    type: string
                    description: 'The requested chain name eg: `eth-mainnet`.'
                  chain_tip_height:
                    type: integer
                    description: The latest block height of the blockchain at the time this response was provided.
                  chain_tip_signed_at:
                    type: string
                    format: date-time
                    description: The timestamp of the latest signed block at the time this response was provided.
                  items:
                    type: array
                    items:
                      type: object
                      properties:
                        block_signed_at:
                          type: string
                          format: date-time
                          description: The block signed timestamp in UTC.
                        block_height:
                          type: integer
                          format: int64
                          description: The height of the block.
                        tx_offset:
                          type: integer
                          format: int64
                          description: The offset is the position of the tx in the block.
                        log_offset:
                          type: integer
                          format: int64
                          description: The offset is the position of the log entry within an event log.
                        tx_hash:
                          type: string
                          description: The requested transaction hash.
                        raw_log_topics:
                          type: array
                          items:
                            type: string
                          description: The log topics in raw data.
                        sender_contract_decimals:
                          type: integer
                          description: Use contract decimals to format the token balance for display purposes - divide the balance by `10^{contract_decimals}`.
                        sender_name:
                          type: string
                          description: The name of the sender.
                        sender_contract_ticker_symbol:
                          type: string
                        sender_address:
                          type: string
                          description: The address of the sender.
                        sender_logo_url:
                          type: string
                          description: The contract logo URL.
                        supports_erc:
                          type: array
                          items:
                            type: string
                          description: 'A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`.'
                        sender_factory_address:
                          type: string
                          description: The address of the deployed UniswapV2 like factory contract for this DEX.
                        raw_log_data:
                          type: string
                          description: The log events in raw.
                        decoded:
                          type: object
                          properties:
                            name:
                              type: string
                            signature:
                              type: string
                            params:
                              type: array
                              items:
                                type: object
                                properties:
                                  name:
                                    type: string
                                  type:
                                    type: string
                                  indexed:
                                    type: boolean
                                  decoded:
                                    type: boolean
                                  value:
                                    type: string
                          description: The decoded item.
                    description: List of response items.
                  pagination:
                    type: object
                    properties:
                      has_more:
                        type: boolean
                        description: True if there is another page.
                      page_number:
                        type: integer
                        description: The requested page number.
                      page_size:
                        type: integer
                        description: The requested number of items on the current page.
                      total_count:
                        type: integer
                        description: The total number of items across all pages for this request.
                    description: Pagination metadata.
      x-codeSamples:
      - lang: TypeScript
        label: GoldRush SDK
        source: "import { GoldRushClient } from \"@covalenthq/client-sdk\";\n\nconst ApiServices = async () => {\n    const client = new GoldRushClient(\"<GOLDRUSH_API_KEY>\");\n    const resp = await client.BaseService.getLogEventsByTopicHash({chainName: \"chainName\", walletAddress: \"walletAddress\"});\n    console.log(resp.data);\n};\n\nApiServices();"
      summary: Get log events by topic hash
      x-summary-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Bearer authentication header of the form: `Bearer <token>`, where `<token>` is your GoldRush API Key.'