CellOrBuilder

interface CellOrBuilder

Functions

Link copied to clipboard
abstract fun getBlockHash(): ByteString
Optional block hash
bytes block_hash = 7;
Link copied to clipboard
abstract fun getBlockNumber(): Long
Optional block number
uint64 block_number = 6;
Link copied to clipboard
abstract fun getCapacity(): Long
Amount of the cell
uint64 capacity = 2;
Link copied to clipboard
abstract fun getData(): ByteString
Data
bytes data = 5;
Link copied to clipboard
abstract fun getInputType(): ByteString
Optional input type data to be included in witness
bytes input_type = 9;
Link copied to clipboard
abstract fun getLock(): Script
Lock script
.TW.Nervos.Proto.Script lock = 3;
Link copied to clipboard
abstract fun getOutPoint(): OutPoint
The unspent output
.TW.Nervos.Proto.OutPoint out_point = 1;
Link copied to clipboard
abstract fun getOutputType(): ByteString
Optional output type data to be included in witness
bytes output_type = 10;
Link copied to clipboard
abstract fun getSince(): Long
Optional since the cell is available to spend
uint64 since = 8;
Link copied to clipboard
abstract fun getType(): Script
Type script
.TW.Nervos.Proto.Script type = 4;
Link copied to clipboard
abstract fun hasLock(): Boolean
Lock script
.TW.Nervos.Proto.Script lock = 3;
Link copied to clipboard
abstract fun hasOutPoint(): Boolean
The unspent output
.TW.Nervos.Proto.OutPoint out_point = 1;
Link copied to clipboard
abstract fun hasType(): Boolean
Type script
.TW.Nervos.Proto.Script type = 4;

Inheritors

Link copied to clipboard