curl --request POST \ --url https://devnet-as.magicblock.app/ \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": 1, "method": "getBlockTime", "params": [ 5 ] }'
{ "jsonrpc": "2.0", "id": 1, "result": null, "error": null }
Returns the estimated production time of a block.
2.0
getBlockTime
Method-specific parameters.
Successful response
Method-specific result payload.
Was this page helpful?