Struct TransactionId
A SHA512 256-truncated hash of a transaction's bytes.
This is usually Base32 encoded with the padding chars trimmed.
Assembly: cs.temp.dll.dll
Syntax
[AlgoApiFormatter(typeof(TransactionIdFormatter))]
[Serializable]
public struct TransactionId : IByteArray, IEquatable<TransactionId>
Fields
SizeBytes
Declaration
public const int SizeBytes = default(int)
Field Value
Properties
Item[Int32]
Declaration
public byte this[int index] { get; set; }
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Property Value
Length
Declaration
public int Length { get; }
Property Value
Methods
Equals(TransactionId)
Declaration
public bool Equals(TransactionId other)
Parameters
Returns
FromString(String)
Declaration
public static TransactionId FromString(string s)
Parameters
Type |
Name |
Description |
String |
s |
|
Returns
FromString<T>(T)
Declaration
public static TransactionId FromString<T>(T fs)
where T : struct, INativeList<byte>, IUTF8Bytes
Parameters
Type |
Name |
Description |
T |
fs |
|
Returns
Type Parameters
GetUnsafePtr()
Declaration
public void *GetUnsafePtr()
Returns
ToFixedString()
Declaration
public FixedString64Bytes ToFixedString()
Returns
Type |
Description |
FixedString64Bytes |
|
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
Implicit(TransactionId to Sha512_256_Hash)
Declaration
public static implicit operator Sha512_256_Hash(TransactionId txid)
Parameters
Returns
Type |
Description |
Sha512_256_Hash |
|
Implicit(TransactionId to String)
Declaration
public static implicit operator string (TransactionId txId)
Parameters
Returns
Implicit(Sha512_256_Hash to TransactionId)
Declaration
public static implicit operator TransactionId(Sha512_256_Hash hash)
Parameters
Type |
Name |
Description |
Sha512_256_Hash |
hash |
|
Returns
Implicit(String to TransactionId)
Declaration
public static implicit operator TransactionId(string s)
Parameters
Type |
Name |
Description |
String |
s |
|
Returns