Show / Hide Table of Contents

Transaction Class

Used to represent the base class of a transaction.

Namespace: Neo.SmartContract.Framework.Services

Assembly: Neo.SmartContract.Framework


public class Transaction


HashHash of the current transaction
VersionTransaction version number. For now it is 0
NonceRandom number
SenderAddress script hash of the sender
SystemFeeSystem fee, which is paid to the network for resource cost
NetworkFeeNetwork fee, which is paid to the verifier for packaging the transaction
ValidUntilBlockValidity period of the transaction
ScriptContract script hash of the transaction


The Transaction object is constructed through Ledger.GetTransaction(UInt256) and Ledger.GetTransactionFromBlock() .