Show / Hide Table of Contents

Interface ITxInvoice

Content of a transaction without any information related to author or signature. The content is ready to be signed by any account. It can be made a fully fledged ITransaction by being combined with an ITxSigningMetadata and a signature.

Inherited Members
IEquatable<ITxInvoice>.Equals(ITxInvoice)
Namespace: Libplanet.Types.Tx
Assembly: Libplanet.Types.dll
Syntax
public interface ITxInvoice : IEquatable<ITxInvoice>

Properties

| Improve this Doc View Source

Actions

A list of actions in this transaction.

Declaration
TxActionList Actions { get; }
Property Value
Type Description
TxActionList
See Also
TxInvoice
ITxSigningMetadata
IUnsignedTx
ITransaction
| Improve this Doc View Source

GasLimit

The limit of the total amount of gas that the transaction will use. This can be null if align the handling of that transaction with the .

Declaration
long? GasLimit { get; }
Property Value
Type Description
Nullable<Int64>
See Also
TxInvoice
ITxSigningMetadata
IUnsignedTx
ITransaction
| Improve this Doc View Source

GenesisHash

A BlockHash value of the genesis which this transaction is made from. This can be null iff the transaction is contained in the genesis block.

Declaration
BlockHash? GenesisHash { get; }
Property Value
Type Description
Nullable<BlockHash>
See Also
TxInvoice
ITxSigningMetadata
IUnsignedTx
ITransaction
| Improve this Doc View Source

MaxGasPrice

The maximum amount of FungibleAssetValue that the transaction author is willing to pay for the transaction. This can be null if align the handling of that transaction with the .

Declaration
FungibleAssetValue? MaxGasPrice { get; }
Property Value
Type Description
Nullable<FungibleAssetValue>
See Also
TxInvoice
ITxSigningMetadata
IUnsignedTx
ITransaction
| Improve this Doc View Source

Timestamp

The time this transaction is created and signed.

Declaration
DateTimeOffset Timestamp { get; }
Property Value
Type Description
DateTimeOffset
See Also
TxInvoice
ITxSigningMetadata
IUnsignedTx
ITransaction
| Improve this Doc View Source

UpdatedAddresses

An approximated list of addresses whose states would be affected by actions in this transaction. However, it could be wrong.

Declaration
IImmutableSet<Address> UpdatedAddresses { get; }
Property Value
Type Description
IImmutableSet<Address>
See Also
TxInvoice
ITxSigningMetadata
IUnsignedTx
ITransaction

Extension Methods

TransactionExtensions.Combine(ITxInvoice, ITxSigningMetadata)
TransactionExtensions.Sign(ITxInvoice, PrivateKey, Int64)
TxMarshaler.MarshalTxInvoice(ITxInvoice)

See Also

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