Builder

class Builder
Nervos cell output.
Protobuf type TW.Nervos.Proto.CellOutput

Functions

Link copied to clipboard
Transaction amount.
uint64 capacity = 1;
Link copied to clipboard
Lock script
.TW.Nervos.Proto.Script lock = 2;
Link copied to clipboard
Type script
.TW.Nervos.Proto.Script type = 3;
Link copied to clipboard
open fun getCapacity(): Long
Transaction amount.
uint64 capacity = 1;
Link copied to clipboard
open fun getLock(): Script
Lock script
.TW.Nervos.Proto.Script lock = 2;
Link copied to clipboard
open fun getType(): Script
Type script
.TW.Nervos.Proto.Script type = 3;
Link copied to clipboard
open fun hasLock(): Boolean
Lock script
.TW.Nervos.Proto.Script lock = 2;
Link copied to clipboard
open fun hasType(): Boolean
Type script
.TW.Nervos.Proto.Script type = 3;
Link copied to clipboard
open fun mergeLock(value: Script): Nervos.CellOutput.Builder
Lock script
.TW.Nervos.Proto.Script lock = 2;
Link copied to clipboard
open fun mergeType(value: Script): Nervos.CellOutput.Builder
Type script
.TW.Nervos.Proto.Script type = 3;
Link copied to clipboard
Transaction amount.
uint64 capacity = 1;
Link copied to clipboard
open fun setLock(builderForValue: Builder): Nervos.CellOutput.Builder
open fun setLock(value: Script): Nervos.CellOutput.Builder
Lock script
.TW.Nervos.Proto.Script lock = 2;
Link copied to clipboard
open fun setType(builderForValue: Builder): Nervos.CellOutput.Builder
open fun setType(value: Script): Nervos.CellOutput.Builder
Type script
.TW.Nervos.Proto.Script type = 3;