The capacity of the cell.
The lock script of the cell.
Optional
typeThe optional type script of the cell.
Static
Optional
byteThe bytes length of the entity, if it is fixed, otherwise undefined
Static
fromCreates a CellOutput instance from a CellOutputLike object.
A CellOutputLike object or an instance of CellOutput.
A CellOutput instance.
Static
encodeEncode the entity into bytes
The entity to encode
The encoded bytes
Static
decodeDecode the entity from bytes
The bytes to decode
The decoded entity
Static
fromCreate an entity from bytes
The created entity
Create a clone of the entity
A clone of the entity
Check if the entity is equal to another entity
The other entity to compare with
True if the entities are equal, false otherwise
Creates an instance of CellOutput.