Class AssetOutput
An output in an asset group, referencing a transaction output (vout) and amount. Binary layout: [0x01 type][2B vout LE][varint amount]
public class AssetOutput
- Inheritance
-
AssetOutput
- Inherited Members
Properties
Amount
public ulong Amount { get; }
Property Value
Vout
public ushort Vout { get; }
Property Value
Methods
Create(ushort, ulong)
public static AssetOutput Create(ushort vout, ulong amount)
Parameters
Returns
FromReader(BufferReader)
public static AssetOutput FromReader(BufferReader reader)
Parameters
readerBufferReader
Returns
Serialize()
public byte[] Serialize()
Returns
- byte[]
SerializeTo(BufferWriter)
public void SerializeTo(BufferWriter writer)
Parameters
writerBufferWriter
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Validate()
public void Validate()