/** * Valid time-window values for the interest endpoint. */ export type InterestWindow = '24h' | '7d' | '30d' | 'ytd' | 'since_inception'; /** * Options for the `fetchInterest` method. */ export type InterestOptions = { vaultAddress: string; window: InterestWindow; chainId?: number; }; /** * Options for the `fetchPositions` method. */ export type FetchPositionsOptions = { /** * When true, cancel an in-flight read, fetch with a zero stale time, * invalidate the result for subsequent reads, and send * `Cache-Control: no-cache` so the Money API also skips its Nest response * cache and refreshes the wallet mUSD balance on demand. Intended for * post-transaction read-your-writes refreshes. */ fresh?: boolean; }; /** * Options for the `fetchHistory` method. */ export type HistoryOptions = { vaultAddress?: string; chainId?: number; cursor?: string; limit?: number; }; /** * Options for the `fetchRateHistory` method. */ export type RateHistoryOptions = { chainId?: number; from?: string; to?: string; }; /** * Options for the `fetchVaultRate` method. */ export type VaultRateOptions = { chainId?: number; }; /** * Options for the `fetchVaultShareValuations` method. */ export type VaultShareValuationsOptions = { /** * Transaction hashes to value. At most 50 distinct hashes after lowercasing * and de-duplication. */ txHashes: string[]; chainId?: number; }; /** Options for the SIWE-authenticated current VBA transfer read. */ export type FetchVbaTransfersOptions = { /** Address whose SIWE session is used to authorize the request. */ address: string; }; //# sourceMappingURL=types.d.ts.map