Constructors
constructor
- new Cell(opts?): Cell
Parameters
Optional opts: {
bits?: BitString;
exotic?: boolean;
refs?: Cell[];
}Optional exotic?: boolean
Optional refs?: Cell[]
Properties
Private _depths
_depths: number[] = []
Private _hashes
_hashes: Buffer[] = []
Readonly mask
mask: LevelMask
Accessors
isExotic
- get isExotic(): boolean
Returns boolean
Methods
[SymbolInspect]
- [SymbolInspect](): string
Returns string
beginParse
- beginParse(allowExotic?): Slice
Parameters
- allowExotic: boolean = false
a new slice
depth
- depth(level?): number
Returns number
cell depth
equals
- equals(other): boolean
Returns boolean
true if cells are equal
hash
- hash(level?): Buffer
Returns Buffer
cell hash
level
- level(): number
Returns number
cell level
toBoc
- toBoc(opts?): Buffer
Parameters
Optional opts: {
crc32?: null | boolean;
idx?: null | boolean;
}Optional crc32?: null | boolean
Optional idx?: null | boolean
Returns Buffer
toString
- toString(indent?): string
Returns string
string representation
Static fromBoc
- fromBoc(src): Cell[]
Returns Cell[]
array of cells
Cell as described in TVM spec