Transaction

Interface
Interface for Transactions
export interface Transaction { 
  readonly version: number; 
  readonly nonce: number; 
  readonly sender?: AddressString; 
  readonly hash: Hash256String; 
  readonly size: number; 
  readonly validUntilBlock: number; 
  readonly attributes: readonly Attribute[]; 
  readonly systemFee: BigNumber; 
  readonly networkFee: BigNumber; 
  readonly signers: readonly Signer[]; 
  readonly script: BufferString; 
  readonly witnesses: readonly Witness[]; 
} 

Properties

version
number
NEO protocol version.
nonce
number
Unique number in order to ensure the hash for this contract is unique.
sender
AddressString
Hash160 of the transaction sender.
size
number
Byte size of this Transaction.
validUntilBlock
number
Block expiration time.
attributes
readonly Attribute[]
Attributes attached to the Transaction.
systemFee
BigNumber
GAS execution fee for the transaction.
networkFee
BigNumber
GAS network priority fee for the transaction.
signers
readonly Signer[]
Scope where the Witnesses are valid.
script
Contract script of the Transaction.
witnesses
readonly Witness[]
Witnesses to the Transaction, i.e. the Addresses that have signed the Transaction.
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE