> For the complete documentation index, see [llms.txt](https://tutorial.neoline.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tutorial.neoline.io/reference/json-rpc-api/wallet_switchethereumchain.md).

# wallet\_switchEthereumChain

Requests that the wallet switches its active Ethereum chain. Introduced by [EIP-3326](https://ethereum-magicians.org/t/eip-3326-wallet-switchethereumchain).

## Params

#### 1. chainId *(required)*

string

Match pattern:^0x\[a-fA-F\d]+$

## Example

### Request

```javascript
await window.NEOLineNeoX.request({
  "method": "wallet_switchEthereumChain",
  "params": [
    {
      "chainId": "0x1"
    }
  ]
});
```

### Result

```
"null"
```
