Query if block is an uncle block

api/v1

Path Parameter

Parameter

Type

Required

Description

blockhash

text

Yes

Hash representation of the block

Response - 200 OK, text/plain

true if block hash is an uncle block; else falseGET/api/v1/isUncleBlock/{blockhash}

Example request

$ curl -X GET http://localhost:2442/api/v1/isUncleBlock/wVTPoSvrAbC63zy7RorvRW4BfuiqgQozUyqYDaYE77J \
    -H 'Content-Type: application/json;charset=utf-8'

Response (Success)

false

Last updated