Options
All
  • Public
  • Public/Protected
  • All
Menu
description

A DTO class that consists of the transferable properties of a transaction. Typically this includes information that is already made public or is known from dHealth Network.

This class shall be used in HTTP responses to avoid any additional data about accounts to be revealed.

todo

Use the @dhealth/contracts abstraction and include in TransactionDTO if necessary.

since

v0.2.0

Hierarchy

Index

Constructors

Properties

creationBlock?: number

The document's creation block number. This field does reflect the time of creation of a transaction. You can use the dHealth Network API to find out exact timestamp by block height.

todo

Note this is not protected for number overflows (but there is a long way until block numbers do overflow..)

access

public

var

{number}

recipientAddress: string

This is the recipient address. The recipient corresponds to the destination of said transaction.

access

public

var

{string}

signerAddress: string

This is the signer's address. The signer corresponds to the issuer of said transaction ("owner"). It is not to be confused with the discovery source address.

access

public

var

{string}

transactionHash: string

This is the transaction hash as defined by dHealth Network. It contains an immutable sha3-256 hash created from the transaction body.

Due to the usage of sha3-256, this hash is always a 32 bytes transaction hash (64 characters in hexadecimal notation).

access

public

var

{string}

Generated using TypeDoc