Documentation
    Preparing search index...

    Type Alias DynamicFieldEntry<Include>

    DynamicFieldEntry: {
        fieldId: string;
        name: DynamicFieldName;
        type: string;
        value: Include extends { value: true } ? DynamicFieldValue : undefined;
        valueType: string;
    } & (
        | { $kind: "DynamicField"; childId?: never }
        | { $kind: "DynamicObject"; childId: string }
    )

    Type Parameters

    Type Declaration

    • fieldId: string

      ID of the 0x2::dynamic_field::Field object.

    • name: DynamicFieldName
    • type: string

      Type of the 0x2::dynamic_field::Field object.

    • value: Include extends { value: true } ? DynamicFieldValue : undefined

      The field's value; value.type always equals valueType. For dynamic object fields, listDynamicFields returns the child object's BCS-encoded content and getDynamicField the child's ID.

    • valueType: string

      Type of the value. For dynamic object fields, listDynamicFields reports the child object's type and getDynamicField reports 0x2::object::ID.

    • { $kind: "DynamicField"; childId?: never }
    • { $kind: "DynamicObject"; childId: string }