Options
All
  • Public
  • Public/Protected
  • All
Menu

A mosaic describes an instance of a mosaic definition. Mosaics can be transferred by means of a transfer transaction.

Hierarchy

  • MetadataEntry

Index

Constructors

constructor

  • Constructor

    Parameters

    • version: number

      The version

    • compositeHash: string

      The composite hash

    • sourceAddress: Address

      The metadata source address (provider)

    • targetAddress: Address

      The metadata target address

    • scopedMetadataKey: UInt64

      The key scoped to source, target and type

    • metadataType: MetadataType

      The metadata type (Account | Mosaic | Namespace)

    • value: string

      The metadata value

    • Optional targetId: MosaicId | NamespaceId

      The target mosaic or namespace identifier

    Returns MetadataEntry

Properties

Readonly compositeHash

compositeHash: string

Readonly metadataType

metadataType: MetadataType

Readonly scopedMetadataKey

scopedMetadataKey: UInt64

Readonly sourceAddress

sourceAddress: Address

Readonly targetAddress

targetAddress: Address

Optional Readonly targetId

targetId: MosaicId | NamespaceId

Readonly value

value: string

Readonly version

version: number

Methods

serialize

  • serialize(): Uint8Array

Generated using TypeDoc