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: IScriptContainer

Attributes

NameDescription
Hash Returns the hash of the transaction
Type Returns the type of the transaction

Methods

NameDescription
GetAttributes() Returns all attributes of the transaction
GetInputs() Returns all TransactionInput of the transaction
GetOutputs() Returns all TransactionOutput of the transaction
GetReferences() Returns all outputs referenced by the inputs of the transaction

Constructor

The Transaction object is constructed through Blockchain.GetTransaction(byte[]) .