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

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun getBlob(name: String): ByteString?
Link copied to clipboard
abstract fun getBoolean(name: String): Boolean?
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.

Link copied to clipboard
abstract fun getLong(name: String): Long?
Link copied to clipboard
abstract fun getString(name: String): String?