symbol-sdk-typescript-javascript
symbol-sdk-typescript-javascript copied to clipboard
there is no ImportanceBlockInfo in src/model/blockchain/
block = await blockRepo.getBlockByHeight(265860).toPromise()
console.log(block.constructor.name);
output is 'NormalBlockInfo' I think block height 265860 is ImportanceBlock. but there is no ImportanceBlockInfo in src/model/blockchain/
How should I know blockinfo is NormalBlock or ImportanceBlock?
The importance block shares the same headers as the normal block but with additional importance info. The BlockTyp in the block header is used to identity different block typs