Skip to main content

ObjectOwner

@iota/iota-sdk


@iota/iota-sdk / client / ObjectOwner

Type Alias: ObjectOwner

ObjectOwner = { AddressOwner: string; } | { ObjectOwner: string; } | { Shared: { initial_shared_version: string; }; } | "Immutable"

Defined in: sdk/typescript/src/client/types/generated.ts:1318

Enum of different types of ownership for an object.

BCS

The BCS serialized form for this type is defined by the following ABNF:


owner-address = %x00 address owner-object = %x01 object-id owner-shared = %x02 u64 owner-immutable = %x03 ```

Union Members

Type Literal

{ AddressOwner: string; }

Object is exclusively owned by a single address, and is mutable.


Type Literal

{ ObjectOwner: string; }


Type Literal

{ Shared: { initial_shared_version: string; }; }


"Immutable"