This package is a thin openAPI wrapper for insight, our in-house indexer.
import { configure } from "@thirdweb-dev/insight";
// call this once at the startup of your application
configure({
clientId: "<YOUR_CLIENT_ID>",
});
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