curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=250 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "ftm_currentEpoch",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x4a5"
}
FTM
ftm_currentEpoch
Returns the current epoch number in the Fantom network.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=250 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "ftm_currentEpoch",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x4a5"
}
Was this page helpful?