Skip to main content

ftm_currentEpoch RPC Method

Returns current epoch number

Updated on
Nov 2, 2023

ftm_currentEpoch RPC Method

Parameters

This method does not accept any parameters

Returns

result
The epoch number encoded as a hexadecimal
Request
1
curl https://docs-demo.fantom.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0","method":"ftm_currentEpoch","id":1}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free