Documentation
    Preparing search index...

    Interface Object<Include>

    interface Object<Include extends ObjectInclude = {}> {
        content: Include extends { content: true }
            ? Uint8Array<ArrayBuffer>
            : undefined;
        digest: string;
        display: Include extends { display: true } ? Display | null : undefined;
        json: Include extends { json: true }
            ? Record<string, unknown> | null
            : undefined;
        objectBcs: Include extends { objectBcs: true }
            ? Uint8Array<ArrayBuffer>
            : undefined;
        objectId: string;
        owner: SuiClientTypes.ObjectOwner;
        previousTransaction: Include extends { previousTransaction: true }
            ? string | null
            : undefined;
        type: string;
        version: string;
    }

    Type Parameters

    Index
    content: Include extends { content: true } ? Uint8Array<ArrayBuffer> : undefined

    BCS-encoded Move struct content — pass to generated BCS type parsers.

    digest: string
    display: Include extends { display: true } ? Display | null : undefined

    Display rendered output. null if the type has no Display template.

    json: Include extends { json: true }
        ? Record<string, unknown> | null
        : undefined

    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: Include extends { objectBcs: true }
        ? Uint8Array<ArrayBuffer>
        : undefined

    Full BCS-encoded object envelope — parse with bcs.Object not a struct parser.

    objectId: string
    previousTransaction: Include extends { previousTransaction: true }
        ? string | null
        : undefined
    type: string
    version: string