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.

Namespace: Libplanet.Types.Tx
Assembly: Libplanet.Types.dll
Syntax
public interface 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 on the total amount of gas that the Transaction can use.

If null, gas processing is entirely bypassed. The parity of null-ness is always the same as that of MaxGasPrice.

If not null, this value cannot be negative.

Declaration
long? GasLimit { get; }
Property Value
Type Description
System.Nullable<System.Int64>
See Also
GasLimit
| 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
System.Nullable<BlockHash>
See Also
TxInvoice
ITxSigningMetadata
IUnsignedTx
ITransaction
| Improve this Doc View Source

MaxGasPrice

The maximum amount of FungibleAssetValue that the Transaction's author is willing to pay per gas for the Transaction.

If null, gas processing is entirely bypassed. The parity of null-ness is always the same as that of GasLimit.

If not null, this value cannot be negative.

Declaration
FungibleAssetValue? MaxGasPrice { get; }
Property Value
Type Description
System.Nullable<FungibleAssetValue>
See Also
GasLimit
| 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

A deprecated property which was used as an approximated list of addresses whose states would be affected by actions in this transaction.

This is no longer officially supported in the sense that a Transaction cannot be created with a non-empty set of Addresses through normal means (i.e. using intended APIs).

It is still possible to create a Transaction through other means, such as creating a payload directly by assigning appropriate values and signing an "unsigned transaction". This is not recommended.

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