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