Skip to main content

Class: Transaction

A Transaction with metadata

Table of contents

Constructors

Properties

Constructors

constructor

new Transaction()

Properties

payload

payload: TransactionPayload

The transaction payload


blockId

Optional blockId: string

The block id in which the transaction payload was included


inclusionState

inclusionState: InclusionState

The inclusion state of the transaction


timestamp

timestamp: string

The creation time


transactionId

transactionId: string

The transaction id


networkId

networkId: string

The network id in which the transaction was sent


incoming

incoming: boolean

If the transaction was created by the wallet or someone else


note

Optional note: string

Note that can be set when sending a transaction and is only stored locally


inputs

inputs: OutputResponse[]

Outputs that are used as input in the transaction. May not be all, because some may have already been deleted from the node.