# 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"
```
