useSendCalls
A hook to send EIP-5792 calls to a wallet. This hook works with all Thirdweb wallets (in-app and smart) and certain injected wallets that already support EIP-5792. Transactions will be bundled and sponsored when those capabilities are supported, otherwise they will be sent as individual transactions.
When calls are sent, all contracts that are interacted with will have their corresponding reads revalidated via React Query.
Await the bundle's full confirmation:
Sponsor transactions with a paymaster: