UNPKG

runes-js

Version:

A typescript library for Runes protocol of Bitcoin

17 lines (16 loc) 492 B
export interface ITerms { cap?: bigint | null; height?: (bigint | null)[] | null; amount?: bigint | null; offset?: (bigint | null)[] | null; } export declare class Terms { cap: bigint | null; height: (bigint | null)[] | null; amount: bigint | null; offset: (bigint | null)[] | null; constructor({ cap, height, amount, offset }: ITerms); static fromJson(json: ITerms): Terms; static fromJsonString(str: string): Terms; toJsonString(): string; }