Skip to main content

ObjectReference

Namespace: IotaSdk

Reference to an object

Contains sufficient information to uniquely identify a specific object.

BCS

The BCS serialized form for this type is defined by the following ABNF:

object-reference = object-id u64 digest
public record class ObjectReference : System.IDisposable, System.IEquatable`1[[IotaSdk.ObjectReference, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance ObjectObjectReference
Implements IDisposable, IEquatable<ObjectReference>
Attributes NullableContextAttribute, NullableAttribute

Properties

ObjectId

public ObjectId ObjectId { get; init; }

Property Value

ObjectId

Version

public Version Version { get; init; }

Property Value

Version

Digest

public ObjectDigest Digest { get; init; }

Property Value

ObjectDigest

Constructors

ObjectReference(ObjectId, Version, ObjectDigest)

Reference to an object

Contains sufficient information to uniquely identify a specific object.

BCS

The BCS serialized form for this type is defined by the following ABNF:

object-reference = object-id u64 digest
public ObjectReference(ObjectId ObjectId, Version Version, ObjectDigest Digest)

Parameters

ObjectId ObjectId

Version Version

Digest ObjectDigest

Methods

Dispose()

public void Dispose()