Skip to content

adamant-console / getBlock

Function: getBlock()

getBlock(id?): Promise<any>

Defined in: get.js:47

Gets block information by block ID.

Parameters

id?

string = ...

ADAMANT block ID

Returns

Promise<any>

Block response, unwrapped from data when present

Released under the GPL-3.0 License.