UNPKG

@bigmi/core

Version:

TypeScript library for Bitcoin apps.

12 lines (11 loc) 377 B
import type { Hash } from '../types/hash.js'; import { BaseError } from './base.js'; export type BlockNotFoundErrorType = BlockNotFoundError & { name: 'BlockNotFoundError'; }; export declare class BlockNotFoundError extends BaseError { constructor({ blockHash, blockNumber, }: { blockHash?: Hash | undefined; blockNumber?: bigint | undefined; }); }