Skip to content

adamant-console / getBlocks

Function: getBlocks() ​

getBlocks(...queries): Promise<any>

Defined in: get.js:59

Gets blocks matching node query parameters.

Parameters ​

queries ​

...string[]

Query fragments such as limit=10 or orderBy=height:desc

Returns ​

Promise<any>

Blocks response, unwrapped from data when present

Released under the GPL-3.0 License.