getBlockByHeight
New site!
All content has been migrated to docs.dash.org. You will be automatically redirected momentarily.
Usage: await client.core.getBlockByHeight(height, options)
Description: Allow to fetch a specific block by its height
Parameters:
parameters | type | required | Description |
---|---|---|---|
height | Number | yes | A valid block height |
options | DAPIClientOptions | no |
Returns : {Promise<null|Buffer>} - The specified bufferized block
Updated about 1 year ago