v1

latestSwagger 2.0Open BSV License2026-07-177164113.9 KB
block

Get the nearest fork heights relative to a block.

Finds the closest blocks with multiple children in each direction.

get/api/v1/block/{hash}/nearestforks

Path parameters

hashstring required

Block, transaction, or subtree hash in hexadecimal format

Response

Nearest fork heights

current_heightinteger