import { sendTransaction } from "thirdweb";
import { tryBlockAndAggregate } from "thirdweb/extensions/multicall3";
const transaction = tryBlockAndAggregate({
contract,
requireSuccess: ...,
calls: ...,
overrides: {
...
}
});
// Send the transaction
await sendTransaction({ transaction, account });