Tracking balance and TVL
Fetching User's Balance
To fetch user's balance within a specific pool:
Where:
vault
– Address of the Yelay vault.pool
– ID of the requested pool.
Retrieving TVL of a Client's Pool
To fetch the Total Value Locked (TVL) of a specific pool within a Yelay vault:
Where:
vault
– Address of the Yelay vault.pool
– Array of pool IDs to calculate the total TVL
Getting historical TVL data for a vault and pool
Code example where only required parameters are used:
The method returns a paginated response with the following structure:
Last updated