Construct a new BaseAPI object.
An instance of the Premia SDK.
Readonly premiaThe Premia SDK instance.
Protected streamThe current index of quote streams. Used to cancel stale streams.
Retrieves daily data for a specific vault using its address.
The address of the vault for which daily data should be retrieved.
Optional startTime: number = 0The timestamp (in seconds) from when the data should start being retrieved (default is 0).
Optional limit: number = 1000The maximum number of data points to return (default is 1000).
Optional skip: number = 0The number of data points to skip from the start of the results (default is 0).
A promise that resolves to an array of VaultDayData objects, containing daily information about the vault at the specified address.
Generated using TypeDoc
Represents a class for handling operations related to making analytics queries from the voidnode server.