Skip to main content

TypeOrigin

@iota/iota-sdk


@iota/iota-sdk / client / TypeOrigin

Interface: TypeOrigin

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

Store the origin of a data type where it first appeared in the version chain.

A data type is identified by the name of the module and the name of the struct/enum in combination.

Undefined behavior

Directly modifying any field is undefined behavior. The fields are only public for read-only access.

Properties

datatype_name

datatype_name: string

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

The name of the data type.

Here this either refers to an enum or a struct identifier.


module_name

module_name: string

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

The name of the module the data type resides in.


package

package: string

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

Storage ID of the package, where the given type first appeared.