# eth\_chainId

Returns the chain ID of the current network.

## Params&#x20;

None.

## Result

string&#x20;

Match pattern: ^0x(\[1-9a-f]+\[0-9a-f]\*|0)$

### Request

```javascript
await window.NEOLineNeoX.request({
  "method": "eth_chainId",
  "params": []
});
```

### Result

```javascript
0xba93
```
