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"
}

Last updated