HYCON
Search…
Amount of mining reward from block
api/v1
Path Parameter
Parameter
Type
Required
Description
blockhash
text
Yes
Hash representation of the block
Response - 200 OK, text/plain
Parameter
Type
Description
amount
string
Amount in Hycon of the mining reward
Response Error
Response will return empty if the block is not a mined block; else will always return an amount.GET/api/v1/getMiningReward/{blockhash}
Example request
$ curl -X GET http://localhost:2442/api/v1/getMiningReward/FnQ2PKQmytfJLbyjoZwSSwtXjaFoCHzzUMsJGUmExNQ8 \
-H 'Content-Type: application/json;charset=utf-8'
Response (Success)
"240"
Copy link