@ethereumjs/block
Version:
Provides Block serialization and help functions
9 lines • 351 B
TypeScript
import type { Block } from '../index.ts';
/**
* Returns the canonical difficulty for this block.
*
* @param block - the block whose difficulty should be calculated
* @param parentBlock - the parent of this `Block`
*/
export declare function ethashCanonicalDifficulty(block: Block, parentBlock: Block): bigint;
//# sourceMappingURL=ethash.d.ts.map