@somnia-chain/markets-sdk / react / usePortfolio
Function: usePortfolio()
usePortfolio(
account,opts?):IndexerQueryState<Portfolio|undefined>
Defined in: hooks.ts:307
A wallet's binary portfolio (indexer read). Re-runs when account/opts change.
Parameters
account
string | undefined
opts?
Returns
IndexerQueryState<Portfolio | undefined>