GrpcObject
Namespace: IotaSdk
An object as returned by the gRPC ledger service.
The object_id, version and digest fields come from Reference or its sub-fields (e.g.
ReferenceObjectId) in the read mask. The object field is deserialized from BCS, so the read
mask must include Bcs for it to be populated.
public record class GrpcObject : System.IDisposable, System.IEquatable`1[[IotaSdk.GrpcObject, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → GrpcObject
Implements IDisposable, IEquatable<GrpcObject>
Attributes NullableContextAttribute, NullableAttribute
Properties
ObjectId
The id of the object.
public ObjectId? ObjectId { get; init; }
Property Value
Version
The version of the object.
public Version? Version { get; init; }
Property Value
Digest
The digest of the object.
public ObjectDigest? Digest { get; init; }
Property Value
Object
The object itself.
public Object? Object { get; init; }
Property Value
Constructors
GrpcObject(ObjectId, Version, ObjectDigest, Object)
An object as returned by the gRPC ledger service.
The object_id, version and digest fields come from Reference or its sub-fields (e.g.
ReferenceObjectId) in the read mask. The object field is deserialized from BCS, so the read
mask must include Bcs for it to be populated.
public GrpcObject(ObjectId? ObjectId, Version? Version, ObjectDigest? Digest, Object? Object)
Parameters
ObjectId ObjectId?
The id of the object.
Version Version?
The version of the object.
Digest ObjectDigest?
The digest of the object.
Object Object?
The object itself.
Methods
Dispose()
public void Dispose()