getPortfolios
function returns an object containing an array of
portfolios for the provided addresses. Each portfolio is an object with the address
of the wallet, the fiat value of the portfolio, and an array of tokens held by the
provided address.
getPortfolios
is only available for Base mainnet and Ethereum mainnet.
You can control the network in the OnchainKitProvider
by setting the chain
prop.Promise<GetPortfoliosResponse>
GetPortfoliosParams
Successful response – Array of portfolio objects
The response is of type object
.