Refresh an Account
Prerequisites:
Getting startedStep 1: Import modules
const { Client, CategoryNFT } = require("@xact-wallet-sdk/client");
require("dotenv").config();Step 2: Refresh an account
const user = await this.client.refreshAccount({
accountId: "" /* Account ID of the user */
scope: [ScopeEnum.PROFILE, ScopeEnum.NFT]
})Last updated