Files
Joaquim VergesGitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
c178d3ab2b Version Packages (#7733)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-27 18:53:00 -07:00
..
2025-07-27 18:53:00 -07:00
2025-07-27 18:53:00 -07:00
2025-06-20 16:14:38 -07:00
2025-06-20 16:14:38 -07:00

Insight OpenAPI TypeScript Wrapper

This package is a thin openAPI wrapper for insight, our in-house indexer.

Configuration

import { configure } from "@thirdweb-dev/insight";

// call this once at the startup of your application
configure({
  clientId: "<YOUR_CLIENT_ID>",
});

Example Usage

import { getV1Events } from "@thirdweb-dev/insight";

const events = await getV1Events({
  query: {
    chain: [1, 137],
    filter_address: "0x1234567890123456789012345678901234567890",
  },
});

This package was autogenerated from the Insight openAPI spec using @hey-api/openapi-ts