Transactions
Sending a transaction in react is done via the useSendTransaction hook. The hook returns a React Query mutate function that you can call with a transaction object created with prepareContractCall or prepareTransaction.
Note that unlike in TypeScript core, useSendTransaction does not require passing the active Account, it will used the current active account from the React context.