Documentation
    Preparing search index...
    interface ObjectInclude {
        content?: boolean;
        display?: boolean;
        json?: boolean;
        objectBcs?: boolean;
        previousTransaction?: boolean;
    }
    Index
    content?: boolean

    Include the BCS-encoded Move struct content of the object.

    Returns the raw bytes of the object's Move struct fields — pass directly to generated BCS types (e.g., MyStruct.parse(object.content)).

    display?: boolean

    Include the Display v2 rendered output for the object.

    Returns a map of display field names to their rendered values. Most values are strings, but Display v2 templates can produce structured JSON values (objects, arrays) for fields that use the :json transform or reference non-string Move types. Returns null if the object's type does not have an associated Display template.

    json?: boolean

    Include the JSON representation of the object's Move struct content.

    Warning: The exact shape and field names of this data may vary between different API implementations (gRPC or GraphQL). For consistent data across APIs, use the content field and parse the BCS data directly.

    objectBcs?: boolean

    Include the full BCS-encoded object envelope. Rarely needed — most metadata (owner, version, type) is already available as fields on the object response.

    Parse with bcs.Object.parse(object.objectBcs) from @mysten/sui/bcs. Do not pass to a Move struct parser — use content for that instead.

    previousTransaction?: boolean

    Include the digest of the transaction that last mutated this object.