updateAttribute

This endpoint is used to update an attribute\'s data for a specific NFT.

public updateAttribute(chain: VyChain, contractAddress: string, tokenId: number, attributeName: string, reqParams: VyUpdateTokenAttributeDto) : VyPromise<Any>

Parameters

chain

The blockchain of the NFT collection

contractAddress

string

The NFT contract address

tokenId

number

The `ID` of the token you want to update

attributeName

string

The name of the attribute you want to update (**NOTE**: This param is case sensitive.)

reqParams

Request data for the operation

Returns

VyPromise

Last updated