getBlockTime

Returns the estimated production time of a block.

POST Category: block

Example Request

curl "https://eu.fluxrpc.com?key=<your-API-key>" -s -X POST -H "Content-Type: application/json" -d '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getBlockTime",
  "params": [5]
}'

Example Response

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

← Back to all methods