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
1
$ curl -X GET http://localhost:2442/api/v1/getMiningReward/FnQ2PKQmytfJLbyjoZwSSwtXjaFoCHzzUMsJGUmExNQ8 \
2
-H 'Content-Type: application/json;charset=utf-8'
Copied!
Response (Success)
1
"240"
Copied!
Last modified 3mo ago
Copy link