Class TxMarshaler
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 |
Byte[] |
bytes |
|
Returns
|
Improve this Doc
View Source
DeserializeUnsignedTx(Byte[])
Declaration
[Pure]
public static IUnsignedTx DeserializeUnsignedTx(byte[] bytes)
Parameters
Type |
Name |
Description |
Byte[] |
bytes |
|
Returns
|
Improve this Doc
View Source
DeserializeUnsignedTx(ImmutableArray<Byte>)
Declaration
[Pure]
public static IUnsignedTx DeserializeUnsignedTx(ImmutableArray<byte> bytes)
Parameters
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
|
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
|
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