CheckpointContents
Namespace: IotaSdk
The committed to contents of a checkpoint.
CheckpointContents contains a list of digests of Transactions, their effects, and the user
signatures that authorized their execution included in a checkpoint.
BCS
The BCS serialized form of this type is specified in
bcs-schema.abnf.
public class CheckpointContents : ICheckpointContents, System.IDisposable
Inheritance Object → CheckpointContents
Implements ICheckpointContents, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Constructors
CheckpointContents(UInt64)
public CheckpointContents(ulong pointer)
Parameters
pointer UInt64
Methods
Destroy()
public void Destroy()
Dispose()
public void Dispose()
AsV1()
public CheckpointContentsV1 AsV1()
Returns
Digest()
public CheckpointContentsDigest Digest()
Returns
IsEmpty()
Whether this checkpoint has no transactions.
public bool IsEmpty()
Returns
IsV1()
public bool IsV1()
Returns
Len()
The number of transactions in this checkpoint.
public ulong Len()
Returns
ToBcs()
Convert this type to BCS encoded bytes.
public Byte[] ToBcs()
Returns
Exceptions
ToDisplayString()
Render this type as human-readable text.
Some types also print this through the binding's native string conversion; this method is the spelling every object type has.
The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.
public string ToDisplayString()
Returns
ToJson()
Convert this type to a JSON encoded string.
public string ToJson()
Returns
Exceptions
Transactions()
public CheckpointTransactionInfo[] Transactions()
Returns
FromBcs(Byte[])
Create this type from BCS encoded bytes.
public static CheckpointContents FromBcs(Byte[] bcs)
Parameters
bcs Byte[]
Returns
Exceptions
FromJson(String)
Create this type from a JSON encoded string.
public static CheckpointContents FromJson(string json)
Parameters
json String
Returns
Exceptions
NewV1(CheckpointContentsV1)
public static CheckpointContents NewV1(CheckpointContentsV1 contents)
Parameters
contents CheckpointContentsV1