Skip to main content

IotaObjectData

@iota/iota-sdk


@iota/iota-sdk / client / IotaObjectData

Interface: IotaObjectData

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

Properties

bcs?

optional bcs?: RawData | null

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

Move object content or package content in BCS, default to be None unless IotaObjectDataOptions.showBcs is set to true


content?

optional content?: IotaParsedData | null

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

Move object content or package content, default to be None unless IotaObjectDataOptions.showContent is set to true


digest

digest: string

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

Base64 string representing the object digest


display?

optional display?: DisplayFieldsResponse | null

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

The Display metadata for frontend UI rendering, default to be None unless IotaObjectDataOptions.showContent is set to true This can also be None if the struct type does not have Display defined


objectId

objectId: string

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


owner?

optional owner?: ObjectOwner | null

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

The owner of this object. Default to be None unless IotaObjectDataOptions.showOwner is set to true


previousTransaction?

optional previousTransaction?: string | null

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

The digest of the transaction that created or last mutated this object. Default to be None unless IotaObjectDataOptions. showPreviousTransaction is set to true


storageRebate?

optional storageRebate?: string | null

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

The amount of IOTA we would rebate if this object gets deleted. This number is re-calculated each time the object is mutated based on the present storage gas price.


type?

optional type?: string | null

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

The type of the object. Default to be None unless IotaObjectDataOptions.showType is set to true


version

version: string

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

Object version.