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