@thirdweb-dev/insight
v1.1.1
Published
This package is a thin openAPI wrapper for insight, our in-house indexer.
Keywords
Readme
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
