Contracts
Get Started
Read, write, and deploy smart contracts on any EVM compatible blockchain.
You can read contract data efficiently using the contract read API.
You can batch multiple contract reads in a single request, and the response will be an array of results or errors.
Authentication requires either x-secret-key
(backend) or x-client-id
(frontend) to be set in the request headers.
You can write to a contract using the contract write API.
On the frontend, use your project client ID and the users's auth token to send a transaction on their behalf.
You can batch multiple contract writes in a single request, and the transactions will be batched atomically onchain.
For comprehensive guides on implementing the full thirdweb SDK, explore our language-specific documentation: