Docs

Fast, automatic ABI resolution for all verified contracts

Joaquim Verges

The latest version of the thirdweb typescript SDK (v4.0.13+) can now resolve ABIs for all verified contracts. No need to manually import them from the dashboard anymore.

const sdk = new ThirdwebSDK("polygon");

const myContract = await sdk.getContract("0x..."); // no ABI needed!

This change also comes with a significant performance improvement: up to 10x faster ABI resolution.

We leverage a distributed CDN cache to get these performance improvements without storing any data.

npm install @thirdweb-dev/sdk