Guides
Dash CoreDash PlatformDash.orgDash User DocsLog In
Guides

getBlockByHash

🚧

New site!

All content has been migrated to docs.dash.org. You will be automatically redirected momentarily.

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