Helios API/ API Reference/ Classes/

TxMetadata

Index

Constructors

constructor

new TxMetadata()

Accessors

keys

get keys(): number[]

Returns

number[]

Methods

add

add(tag, data): void

Parameters

NameType
tagnumber
dataMetadata

Returns

void

dump

dump(): any

Returns

any

toCbor

toCbor(): number[]

Returns

number[]

fromCbor

Static fromCbor(data): TxMetadata

Decodes a TxMetadata instance from Cbor

Parameters

NameType
datanumber[]

Returns

TxMetadata