Skip to content

@thirdweb-dev/[email protected]

Compare
Choose a tag to compare
@joaquim-verges joaquim-verges released this 07 May 23:08
· 462 commits to main since this release
4e6daac

@thirdweb-dev/insight

1.0.0

Major Changes

  • #6706 185d2f3 Thanks @joaquim-verges! - Initial release of dedicated insight TS 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",
      },
    });