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

    Properties

    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)).

    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 (JSON-RPC vs 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.