Skip to main content

TryGetPastObjectParams

@iota/iota-sdk


@iota/iota-sdk / client / TryGetPastObjectParams

Interface: TryGetPastObjectParams

Defined in: sdk/typescript/src/client/types/params.ts:192

Note there is no software-level guarantee/SLA that objects with past versions can be retrieved by this API, even if the object and version exists/existed. The result may vary across nodes depending on their pruning policies. Return the object information for a specified version

Properties

id

id: string

Defined in: sdk/typescript/src/client/types/params.ts:194

the ID of the queried object


options?

optional options?: IotaObjectDataOptions | null

Defined in: sdk/typescript/src/client/types/params.ts:198

options for specifying the content to be returned


signal?

optional signal?: AbortSignal

Defined in: sdk/typescript/src/client/types/params.ts:199


version

version: number

Defined in: sdk/typescript/src/client/types/params.ts:196

the version of the queried object. If None, default to the latest known version