TransactionButton
TransactionButton component is used to render a button that triggers a transaction.
It shows a "Switch Network" button if the connected wallet is on a different chain than the transaction.
Example

TransactionButton component is used to render a button that triggers a transaction.
It shows a "Switch Network" button if the connected wallet is on a different chain than the transaction.