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:
parameters | type | required | Description |
---|---|---|---|
hash | String | yes | A valid block hash |
options | DAPIClientOptions | no |
Returns : {Promise<null|Buffer>} - The specified bufferized block
Updated about 1 year ago