Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions src/fireblocks-sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1543,13 +1543,15 @@ export class FireblocksSDK {
}

/**
*
* @param vaultAccountId
* Refresh NFT ownership by vault account or ncw account
* @param blockchainDescriptor
* @param vaultAccountId Required for Non-NCW
* @param ncwId Required for NCW
* @param ncwAccountId Required for NCW
*/
public async refreshNFTOwnershipByVault(vaultAccountId: string, blockchainDescriptor: string): Promise<void> {
public async refreshNFTOwnershipByVault(blockchainDescriptor: string, vaultAccountId?: string, ncwId?: string, ncwAccountId?: string): Promise<void> {
return await this.apiClient.issuePutRequest(
`/v1/nfts/ownership/tokens?vaultAccountId=${vaultAccountId}&blockchainDescriptor=${blockchainDescriptor}`,
`/v1/nfts/ownership/tokens?blockchainDescriptor=${blockchainDescriptor}&vaultAccountId=${vaultAccountId}&ncwId=${ncwId}&ncwAccountId=${ncwAccountId}`,
undefined);
}

Expand Down