Skip to content

Latest commit

 

History

History

insight

Insight TypeScript SDK

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