Function: getAllObjects()
function getAllObjects(
client,
ids,
options,
limit?): Promise<IotaObjectResponse[]>;
A helper to fetch all objects that works with pagination.
It will fetch all objects in the array, and limit it to 50/request.
Requests are sent using Promise.all.
Parameters
| Parameter | Type | Default value |
|---|---|---|
client | IotaClient | undefined |
ids | string[] | undefined |
options | IotaObjectDataOptions | undefined |
limit | number | DEFAULT_QUERY_LIMIT |
Returns
Promise<IotaObjectResponse[]>