ton3-core
Version:
TON low-level API tools
25 lines (24 loc) • 938 B
TypeScript
import { Builder } from './builder';
import { Slice } from './slice';
import { Mask } from './mask';
import { Cell, CellType, CellOptions } from './cell';
import { Hashmap, HashmapE } from './hashmap';
import { BOCOptions } from './serializer';
export declare type BOCEncoding = 'hex' | 'base64' | 'fift';
declare class BOC {
private _root;
private static isHex;
private static isBase64;
private static isFift;
private static isBytes;
private static toBase64;
private static toFiftHex;
private static toHex;
constructor(cells: Cell[]);
[Symbol.iterator](): IterableIterator<Cell>;
static from(data: Uint8Array | string, checkMerkleProofs?: boolean): BOC;
toBytes(options?: BOCOptions): Uint8Array;
toString(encoding?: BOCEncoding, options?: BOCOptions): string;
get root(): Cell[];
}
export { BOC, BOCOptions, Mask, Cell, CellType, CellOptions, Hashmap, HashmapE, Slice, Builder };