Is there a way to get claimable balance for users from vaults and staked assets for a particular user address, is there an api to get balance for a particular user , also the subgraph seems to not have user level information, thanks in advance
Hi!
Yes you can call a particular function on the vault itself to get the balance:
earned()
will return the earned amount
balanceOf()
will return the balance of the vault tokens, while rawBalanceOf()
is for the underlying.