TransactionButton component. Use with writeContractSync or sendTransactionSync function to handle the transaction and wait for it. The component will call the onMined callback function when the transaction is mined.