TransactionData

sealed class TransactionData

An abstract object that describes transaction data item.

Exact format of the transaction data and hashing rules depend on the presentation protocol.

Parameters

type

type of the transaction data item

Inheritors

Types

Link copied to clipboard
interface Attributes

A set of attributes either in the transaction data itself or in one of the compound objects that it contains.

Properties

Link copied to clipboard

Transaction attributes

Link copied to clipboard

Functions

Link copied to clipboard
abstract suspend fun getHash(algorithm: Algorithm = Algorithm.SHA256): ByteString

Computes hash of the transaction data.

Link copied to clipboard
abstract fun getHashAlgorithm(): Algorithm?

Hash algorithm override for this transaction data.