Skip to main content

GenesisObjectInterface

interface GenesisObjectInterface

An object part of the initial chain state

GenesisObject's are included as a part of genesis, the initial checkpoint/transaction, that initializes the state of the blockchain.

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

Inheritors​

GenesisObject

Functions​

NameSummary
dataabstract fun data(): ObjectData
objectIdabstract fun objectId(): ObjectId
objectTypeabstract fun objectType(): ObjectType
ownerabstract fun owner(): Owner
toBcsabstract fun toBcs(): ByteArray
Convert this type to BCS encoded bytes.
toDisplayStringabstract fun toDisplayString(): String
Render this type as human-readable text.
toJsonabstract fun toJson(): String
Convert this type to a JSON encoded string.
versionabstract fun version(): Version