Documentation
    Preparing search index...

    Interface Object<Include>

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

    Type Parameters

    Index

    Properties

    content: Include extends { content: true } ? Uint8Array<ArrayBuffer> : undefined
    digest: string
    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 (JSON-RPC vs 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
    objectId: string
    previousTransaction: Include extends { previousTransaction: true }
        ? string | null
        : undefined
    type: string
    version: string