import {BlockService} from 'burst-js/packages/core/src/service/blockService.ts'BlockService
Extends:
packages/core/src/service/baseService.js~BaseService → BlockService
Service for block operations
Method Summary
| Public Methods | ||
| public |
getBlockByHeight(height: number, includeTransactions: boolean): Promise Get a block by given height |
|
| public |
getBlockById(id: string, includeTransactions: boolean): Promise Get a block by given id |
|
| public |
getBlockByTimestamp(timestamp: number, includeTransactions: boolean): Promise Get a block by given timestamp |
|
| public |
getBlockId(height: number): Promise Get a block ID given a block height |
|
Public Methods
public getBlockByHeight(height: number, includeTransactions: boolean): Promise source
Get a block by given height
public getBlockById(id: string, includeTransactions: boolean): Promise source
Get a block by given id
