ton3-core
Version:
TON low-level API tools
13 lines (12 loc) • 497 B
TypeScript
import { Cell } from './cell';
interface BOCOptions {
has_index?: boolean;
hash_crc32?: boolean;
has_cache_bits?: boolean;
topological_order?: 'breadth-first' | 'depth-first';
flags?: number;
}
declare const deserializeFift: (data: string) => Cell[];
declare const deserialize: (data: Uint8Array, checkMerkleProofs: boolean) => Cell[];
declare const serialize: (root: Cell[], options?: BOCOptions) => Uint8Array;
export { serialize, deserialize, deserializeFift, BOCOptions };