final case class Asset(groupId: Option[GroupId], seriesId: Option[SeriesId], quantity: Int128, groupAlloy: Option[ByteString], seriesAlloy: Option[ByteString], fungibility: FungibilityType, quantityDescriptor: QuantityDescriptorType, ephemeralMetadata: Option[Struct], commitment: Option[ByteString], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[Asset]
A user-defined token
Value parameters
commitment
This field is optional and meant to store a commitment in the form of a hash. This field is managed by the user. Metadata concerning this field can be added to the metadata.
ephemeralMetadata
This is the ephemeral metadata of an asset. It follows the schema defined in the ephemeral metadata schema of the series policy corresponding to the token being minted. The conformance of this field to the schema is not checked by the node. This field is managed by the user.
fungibility
Describes the fungibility of the asset..
groupAlloy
This field is optional and represents a Merkle root of the alloy of groups in this asset. This is only valid for tokens that are series fungible. length = 32
groupId
The group identifier of the group token that was used to mint this asset. When there is a groupAlloy this field is not used.
quantity
A quantity
quantityDescriptor
Describes the quantity behavior of this asset.
seriesAlloy
This field is optional and represents a Merkle root of the alloy of series in this asset. This is only valid for tokens that are group fungible. length = 32
seriesId
The series identifier of the series token that was used to mint this asset. When there is a seriesAlloy this field is not used.