# Trigger Switch Chain

### [Demo page](https://web3-demo.bubbleapps.io/version-test/switch_chain)

### &#x20; <mark style="background-color:blue;">Parameters</mark>&#x20;

<table><thead><tr><th width="187.33333333333331">Parameter Name</th><th width="95">Type</th><th>Description</th></tr></thead><tbody><tr><td>Chain ID</td><td>Number</td><td>If you don't know the ID, find it here: <a href="https://chainlist.org/">https://chainlist.org/</a></td></tr></tbody></table>

### &#x20;<mark style="background-color:blue;">Events</mark>&#x20;

<table><thead><tr><th width="292.5">Name</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td>MetaMask Chain ID Changed</td><td></td><td></td></tr><tr><td>Chain ID not added in the Wallet</td><td>Triggered if the given Chain ID is not added in MetaMask, in this case you can run the <a href="add-chain-to-metamask">Add Chain to MetaMask action</a> to add it</td><td></td></tr></tbody></table>
