This endpoint is used to update the metadata of a token-type.
public updateErc1155TokenTypeMetadata(chain: VyChain, contractAddress: string, tokenTypeId: number, reqParams: VyUpdateErc1155TokenTypeMetadataRequest) : VyPromise<VyMetadataDto>
Parameters
chain
VyChain
The blockchain of the contract.
contractAddress
string
The contract address.
tokenTypeId
number
The `id` of the token-type whose metadata you want to update.
reqParams
VyUpdateErc1155TokenTypeMetadataRequest
Request data for the operation
Returns
VyPromise<VyMetadataDto>
Last updated 3 months ago