Class TxMarshaler
Inherited Members
System.Object.GetType()
System.Object.ToString()
Assembly: Libplanet.Types.dll
Syntax
public static class TxMarshaler
Methods
|
Improve this Doc
View Source
DeserializeTransactionWithoutVerification(Byte[])
Declaration
[Pure]
public static Transaction DeserializeTransactionWithoutVerification(byte[] bytes)
Parameters
Type |
Name |
Description |
System.Byte[] |
bytes |
|
Returns
|
Improve this Doc
View Source
DeserializeUnsignedTx(Byte[])
Declaration
[Pure]
public static IUnsignedTx DeserializeUnsignedTx(byte[] bytes)
Parameters
Type |
Name |
Description |
System.Byte[] |
bytes |
|
Returns
|
Improve this Doc
View Source
DeserializeUnsignedTx(ImmutableArray<Byte>)
Declaration
[Pure]
public static IUnsignedTx DeserializeUnsignedTx(ImmutableArray<byte> bytes)
Parameters
Type |
Name |
Description |
System.Collections.Immutable.ImmutableArray<System.Byte> |
bytes |
|
Returns
|
Improve this Doc
View Source
MarshalTransaction(Transaction)
Declaration
[Pure]
public static Dictionary MarshalTransaction(this Transaction transaction)
Parameters
Returns
Type |
Description |
Bencodex.Types.Dictionary |
|
|
Improve this Doc
View Source
MarshalTxInvoice(ITxInvoice)
Declaration
[Pure]
public static Dictionary MarshalTxInvoice(this ITxInvoice invoice)
Parameters
Returns
Type |
Description |
Bencodex.Types.Dictionary |
|
|
Improve this Doc
View Source
Declaration
[Pure]
public static Dictionary MarshalTxSigningMetadata(this ITxSigningMetadata metadata)
Parameters
Returns
Type |
Description |
Bencodex.Types.Dictionary |
|
|
Improve this Doc
View Source
MarshalUnsignedTx(IUnsignedTx)
Declaration
[Pure]
public static Dictionary MarshalUnsignedTx(this IUnsignedTx unsignedTx)
Parameters
Returns
Type |
Description |
Bencodex.Types.Dictionary |
|
|
Improve this Doc
View Source
SerializeUnsignedTx(IUnsignedTx)
Declaration
[Pure]
public static ImmutableArray<byte> SerializeUnsignedTx(this IUnsignedTx unsignedTx)
Parameters
Returns
Type |
Description |
System.Collections.Immutable.ImmutableArray<System.Byte> |
|
|
Improve this Doc
View Source
UnmarshalTransaction(Dictionary)
Declaration
[Pure]
public static Transaction UnmarshalTransaction(Dictionary dictionary)
Parameters
Type |
Name |
Description |
Bencodex.Types.Dictionary |
dictionary |
|
Returns
|
Improve this Doc
View Source
UnmarshalTransactionSignature(Dictionary)
Declaration
[Pure]
public static ImmutableArray<byte>? UnmarshalTransactionSignature(Dictionary dictionary)
Parameters
Type |
Name |
Description |
Bencodex.Types.Dictionary |
dictionary |
|
Returns
Type |
Description |
Nullable<System.Collections.Immutable.ImmutableArray<System.Byte>> |
|
|
Improve this Doc
View Source
UnmarshalTransactionWithoutVerification(Dictionary)
Declaration
[Pure]
public static Transaction UnmarshalTransactionWithoutVerification(Dictionary dictionary)
Parameters
Type |
Name |
Description |
Bencodex.Types.Dictionary |
dictionary |
|
Returns
|
Improve this Doc
View Source
UnmarshalTxInvoice(Dictionary)
Declaration
[Pure]
public static ITxInvoice UnmarshalTxInvoice(Dictionary dictionary)
Parameters
Type |
Name |
Description |
Bencodex.Types.Dictionary |
dictionary |
|
Returns
|
Improve this Doc
View Source
Declaration
[Pure]
public static ITxSigningMetadata UnmarshalTxSigningMetadata(Dictionary dictionary)
Parameters
Type |
Name |
Description |
Bencodex.Types.Dictionary |
dictionary |
|
Returns
|
Improve this Doc
View Source
UnmarshalUnsignedTx(Dictionary)
Declaration
[Pure]
public static UnsignedTx UnmarshalUnsignedTx(Dictionary dictionary)
Parameters
Type |
Name |
Description |
Bencodex.Types.Dictionary |
dictionary |
|
Returns