Skip to main content

SharedObjectReference

SharedObjectReference​

struct SharedObjectReference

A shared object input to a programmable transaction

init(objectId:initialSharedVersion:mutable:)​

init(objectId: ObjectId, initialSharedVersion: Version, mutable: Bool)

initialSharedVersion​

var initialSharedVersion: Version

mutable​

var mutable: Bool

objectId​

var objectId: ObjectId

toDisplayString()​

func toDisplayString() -> String

Render this type as human-readable text.

The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.