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.

getBlockByHash

Usage: await client.core.getBlockByHash(hash, options)
Description: Allow to fetch a specific block by its hash

Parameters:

parameterstyperequiredDescription
hashStringyesA valid block hash
optionsDAPIClientOptionsno

Returns : {Promise<null|Buffer>} - The specified bufferized block