Skip to main content
The display module provides helper functions for building UI components that show vault data. Import them from the /display subpath or the main package.

Import

Functions

findVaultByConfig

Discover a vault address by asset, yield type, and chain.

getMinimumMint

Calculate expected vault shares for a deposit amount.

getVaultAPY

Fetch the latest APY for a vault.

getVaultTVL

Fetch total value locked for a vault.

getWithdrawalFee

Calculate withdrawal fees from the on-chain FeeModule.

getWithdrawalRequests

Fetch a user’s withdrawal request history.

getMinimumWithdrawalOrderSize

Get the minimum withdrawal order size for a vault.

Quick Reference