Version
Show / Hide Table of Contents

Transaction Class

Used to represent the base class of a transaction.

Namespace: Neo.SmartContract.Framework.Services.Neo

Assembly: Neo.SmartContract.Framework

Syntax

public class Transaction

Attributes

NameDescription
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

Constructor

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