ftm_currentEpoch
Returns current epoch number
Returns current epoch number
Parameters
None
Returns
String - epoch number (HEX-encoded)
Example
Request
curl -H "Content-Type: application/json" \
-d '{"id": 1, "jsonrpc":"2.0", "method": "ftm_currentEpoch", "params": []}' \
https://fantom-mainnet.blastapi.io/<project-id>
Result
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x17146"
}