UNPKG

@bitgo/utxo-ord

Version:

Utilities for building ordinals with BitGo utxo-lib

26 lines 787 B
export declare class InvalidSatRange extends Error { start: bigint; end: bigint; constructor(message: string, start: bigint, end: bigint); } /** * Range of satoshi, inclusive. * Inscriptions have start === end. */ export declare class SatRange { start: bigint; end: bigint; constructor(start: bigint, end: bigint); /** * @param offset * @return SatRange with start and end shifted by offset */ shiftedBy(offset: bigint): SatRange; /** @return true iff this intersects with _other_ */ intersectsWith(other: bigint | SatRange): boolean; /** @return true iff this is superset of _other_. */ isSupersetOf(other: bigint | SatRange): boolean; toString(): string; size(): bigint; } //# sourceMappingURL=SatRange.d.ts.map