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
Name | Type |
---|---|
tag | number |
data | Metadata |
Returns
void
dump
▸ dump(): any
Returns
any
toCbor
▸ toCbor(): number
[]
Returns
number
[]
fromCbor
▸ Static
fromCbor(data
): TxMetadata
Decodes a TxMetadata instance from Cbor
Parameters
Name | Type |
---|---|
data | number [] |