Show / Hide Table of Contents

Interface ITransaction

An abstract interface for a transaction. Unlike Transaction, it deals with custom actions in a non-generic way. Instead, they are represented as .

Inherited Members
ITxInvoice.UpdatedAddresses
ITxInvoice.Timestamp
ITxInvoice.GenesisHash
ITxInvoice.Actions
ITxInvoice.MaxGasPrice
ITxInvoice.GasLimit
ITxSigningMetadata.Nonce
ITxSigningMetadata.Signer
ITxSigningMetadata.PublicKey
Namespace: Libplanet.Types.Tx
Assembly: Libplanet.Types.dll
Syntax
public interface ITransaction : IUnsignedTx, ITxInvoice, ITxSigningMetadata

Properties

| Improve this Doc View Source

Id

The unique identifier derived from this transaction's content including actions and signature.

Declaration
TxId Id { get; }
Property Value
Type Description
TxId
See Also
TxId
| Improve this Doc View Source

Signature

A digital signature of the content of this ITransaction.

Declaration
byte[] Signature { get; }
Property Value
Type Description
System.Byte[]

Extension Methods

TransactionExtensions.Combine(ITxInvoice, ITxSigningMetadata)
TransactionExtensions.Sign(ITxInvoice, PrivateKey, Int64)
TxMarshaler.MarshalTxInvoice(ITxInvoice)
TxMarshaler.MarshalTxSigningMetadata(ITxSigningMetadata)
TransactionExtensions.Sign(IUnsignedTx, PrivateKey)
TransactionExtensions.Verify(IUnsignedTx, ImmutableArray<Byte>)
TxMarshaler.MarshalUnsignedTx(IUnsignedTx)
TxMarshaler.SerializeUnsignedTx(IUnsignedTx)
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium