GetCurrentDSEpoch


Returns the current number of DS blocks in the network. This is represented as a String.

Example Request

curl -d '{
"id": "1",
"jsonrpc": "2.0",
"method": "GetCurrentDSEpoch",
"params": [""]
}' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/"

Example response

{
"id": "1",
"jsonrpc": "2.0",
"result": "5898"
}

HTTP Request

Chain(s)URL(s)
Zilliqa mainnethttps://api.zilliqa.com/
Developer testnethttps://dev-api.zilliqa.com/
Local testnethttp://localhost:4201/
Isolated serverhttp://localhost:5555/

Arguments

ParameterTypeRequiredDescription
idstringRequired"1"
jsonrpcstringRequired"2.0"
methodstringRequired"GetCurrentDSEpoch"
paramsstringRequiredEmpty string ""