MergeCoins
Namespace: IotaSdk
Command to merge multiple coins of the same type into a single coin
BCS
The BCS serialized form of this type is specified in
bcs-schema.abnf.
public class MergeCoins : IMergeCoins, System.IEquatable`1[[IotaSdk.MergeCoins, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IDisposable
Inheritance Object → MergeCoins
Implements IMergeCoins, IEquatable<MergeCoins>, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Constructors
MergeCoins(UInt64)
public MergeCoins(ulong pointer)
Parameters
pointer UInt64
MergeCoins(Argument, Argument[])
public MergeCoins(Argument coin, Argument[] coinsToMerge)
Parameters
coin Argument
coinsToMerge Argument[]
Methods
Destroy()
public void Destroy()
Dispose()
public void Dispose()
Coin()
Coin to merge coins into
public Argument Coin()
Returns
CoinsToMerge()
Set of coins to merge into coin
All listed coins must be of the same type and be the same type as coin
public Argument[] CoinsToMerge()
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
Equals(MergeCoins)
public bool Equals(MergeCoins? other)
Parameters
other MergeCoins?
Returns
Equals(Object)
public override bool Equals(object? obj)
Parameters
obj Object?
Returns
FromBcs(Byte[])
Create this type from BCS encoded bytes.
public static MergeCoins FromBcs(Byte[] bcs)
Parameters
bcs Byte[]
Returns
Exceptions
FromJson(String)
Create this type from a JSON encoded string.
public static MergeCoins FromJson(string json)
Parameters
json String