Guides
Dash CoreDash PlatformDash.orgDash User DocsLog In
These docs are for v0.24.0. Click to read the latest docs for v0.25-redirect.

getBlockHash

Usage: await client.core.getBlockHash(height, options)
Description: Allow to fetch a specific block hash from its height

Parameters:

parameterstyperequiredDescription
heightNumberyesA valid block height
optionsDAPIClientOptionsno

Returns : {Promise<null|string>} - the corresponding block hash