DynamicFieldName

data class DynamicFieldName(val bcs: Optional<Any?> = Optional.Absent, val literal: Optional<String?> = Optional.Absent, val type: Optional<String?> = Optional.Absent)

A description of a dynamic field's name.

Names can either be given as serialized bcs accompanied by its type, or as a Display v2 literal expression. Other combinations of inputs are not supported.

Parameters

bcs

The Base64-encoded BCS serialization of the dynamic field's 'name'.

literal

The name represented as a Display v2 literal expression.

type

The type of the dynamic field's name, like 'u64' or '0x2::kiosk::Listing'.

Constructors

Link copied to clipboard
constructor(bcs: Optional<Any?> = Optional.Absent, literal: Optional<String?> = Optional.Absent, type: Optional<String?> = Optional.Absent)

Properties

Link copied to clipboard
val bcs: Optional<Any?>

The Base64-encoded BCS serialization of the dynamic field's 'name'.

Link copied to clipboard
val literal: Optional<String?>

The name represented as a Display v2 literal expression.

Link copied to clipboard
val type: Optional<String?>

The type of the dynamic field's name, like 'u64' or '0x2::kiosk::Listing'.