nftPortfolio function
Implementation
@riverpod
Future<ListNFTsResponse?> nftPortfolio(NftPortfolioRef ref) async {
final address = ref
.watch(walletsProvider.select((value) => value.selectedAccount?.address));
if (address == null) {
return null;
}
return Ark().nft.portfolio(address);
}