Skip to main content

Function: getAllOwnedObjects()

function getAllOwnedObjects(__namedParameters): Promise<IotaObjectResponse[]>;

A helper to return all owned objects, with an optional filter. It parses all the pages and returns the data.

Parameters

ParameterType
__namedParameters{ client: IotaClient; owner: string; filter?: IotaObjectDataFilter; options?: IotaObjectDataOptions; limit?: number; }
__namedParameters.clientIotaClient
__namedParameters.ownerstring
__namedParameters.filter?IotaObjectDataFilter
__namedParameters.options?IotaObjectDataOptions
__namedParameters.limit?number

Returns

Promise<IotaObjectResponse[]>