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

# ftm\_currentEpoch

**Returns current epoch number**

**Parameters**

**None**

**Returns**

`QUANTITY, Integer` - The epoch number encoded as a hexadecimal

## Example

#### Request

```
curl --request POST \
     --url https://endpoints.omniatech.io/v1/RPC_ENDPOINT \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{"jsonrpc":"2.0","method":"ftm_currentEpoch","id":1}
'
```

#### Response

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