> For the complete documentation index, see [llms.txt](https://docs.u2u.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.u2u.xyz/services/rpc/dag-api-methods/eth_currentepoch.md).

# eth\_currentEpoch

### Parameters

None

### Returns

`String` - epoch number (HEX-encoded)

### Example

Request

```
curl -H "Content-Type: application/json" \
-d '{"id": 1, "jsonrpc":"2.0", "method": "eth_currentEpoch", "params": []}' \
https://rpc-mainnet.u2u.xyz
```

Result

```javascript
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x17146"
}
```
