The previous outpoint of the cell.
The since value of the cell input.
OptionalcellOutput: CellOutputThe optional cell output associated with the cell input.
OptionaloutputData: `0x${string}`The optional output data associated with the cell input.
The previous outpoint of the cell.
The since value of the cell input.
OptionalcellThe optional cell output associated with the cell input.
OptionaloutputThe optional output data associated with the cell input.
Static OptionalbyteThe bytes length of the entity, if it is fixed, otherwise undefined
StaticfromCreates a CellInput instance from a CellInputLike object.
A CellInputLike object or an instance of CellInput.
A CellInput instance.
Complete extra infos in the input. Including
true if succeed.
The extra capacity created when consume this input. This is usually NervosDAO interest, see https://github.com/nervosnetwork/rfcs/blob/master/rfcs/0023-dao-deposit-withdraw/0023-dao-deposit-withdraw.md. And it can also be miners' income. (But this is not implemented yet)
StaticencodeEncode the entity into bytes
The entity to encode
The encoded bytes
StaticdecodeStaticfromCheck if the entity is equal to another entity
The other entity to compare with
True if the entities are equal, false otherwise
Calculate the hash of the entity
The hash of the entity
Creates an instance of CellInput.