Show / Hide Table of Contents

Class TxSigningMetadata

A concrete implementation of ITxSigningMetadata.

Inheritance
System.Object
TxSigningMetadata
Implements
ITxSigningMetadata
IEquatable<ITxSigningMetadata>
IEquatable<TxSigningMetadata>
Namespace: Libplanet.Types.Tx
Assembly: Libplanet.Types.dll
Syntax
public sealed class TxSigningMetadata : object, ITxSigningMetadata

Constructors

| Improve this Doc View Source

TxSigningMetadata(PublicKey, Int64)

Creates a new TxSigningMetadata instance by filling data for its fields.

Declaration
public TxSigningMetadata(PublicKey publicKey, long nonce)
Parameters
Type Name Description
PublicKey publicKey

The value for PublicKey.

System.Int64 nonce

The value for Nonce.

See Also
ITxSigningMetadata
TxInvoice
UnsignedTx
Transaction
| Improve this Doc View Source

TxSigningMetadata(ITxSigningMetadata)

Creates a new TxSigningMetadata instance by copying the fields from the given signingMetadata.

Declaration
public TxSigningMetadata(ITxSigningMetadata signingMetadata)
Parameters
Type Name Description
ITxSigningMetadata signingMetadata

The ITxSigningMetadata instance to copy fields from.

See Also
ITxSigningMetadata
TxInvoice
UnsignedTx
Transaction

Properties

| Improve this Doc View Source

Nonce

The number of previous Transactions committed by the Signer of this transaction. This nonce is used for preventing replay attack.

Declaration
public long Nonce { get; }
Property Value
Type Description
System.Int64
See Also
ITxSigningMetadata
TxInvoice
UnsignedTx
Transaction
| Improve this Doc View Source

PublicKey

A PublicKey of the account who signs this transaction. The Signer address is always corresponding to this for each transaction. This cannot be null.

Declaration
public PublicKey PublicKey { get; }
Property Value
Type Description
PublicKey
See Also
ITxSigningMetadata
TxInvoice
UnsignedTx
Transaction
| Improve this Doc View Source

Signer

A PublicKey of the account who signs this transaction. This is derived from the PublicKey.

Declaration
public Address Signer { get; }
Property Value
Type Description
Address
Remarks

This is automatically derived from PublicKey.

See Also
ITxSigningMetadata
TxInvoice
UnsignedTx
Transaction

Methods

| Improve this Doc View Source

Equals(TxSigningMetadata)

A concrete implementation of ITxSigningMetadata.

Declaration
public bool Equals(TxSigningMetadata other)
Parameters
Type Name Description
TxSigningMetadata other
Returns
Type Description
System.Boolean
See Also
ITxSigningMetadata
TxInvoice
UnsignedTx
Transaction
| Improve this Doc View Source

Equals(Nullable<Object>)

A concrete implementation of ITxSigningMetadata.

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
System.Nullable<System.Object> obj
Returns
Type Description
System.Boolean
See Also
ITxSigningMetadata
TxInvoice
UnsignedTx
Transaction
| Improve this Doc View Source

GetHashCode()

A concrete implementation of ITxSigningMetadata.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
See Also
ITxSigningMetadata
TxInvoice
UnsignedTx
Transaction
| Improve this Doc View Source

ToString()

A concrete implementation of ITxSigningMetadata.

Declaration
public override string ToString()
Returns
Type Description
System.String
See Also
ITxSigningMetadata
TxInvoice
UnsignedTx
Transaction

Implements

ITxSigningMetadata
IEquatable<>
IEquatable<>

See Also

ITxSigningMetadata
TxInvoice
UnsignedTx
Transaction
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium