# UpdateErc1155ContractMetadata

This endpoint is used to update the metadata of a contract.

{% code overflow="wrap" %}

```cpp
void UpdateErc1155ContractMetadata(EVyChain Chain, FString ContractAddress, const FVyUpdateErc1155ContractMetadataRequest& Params, const FVyOnUpdateErc1155ContractMetadataComplete& OnComplete) const;
```

{% endcode %}

\
**Parameters**

| Chain           | [EVyChain](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/shared/enum/evychain)                                                         | The blockchain of the contract.                                                         |
| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| ContractAddress | FString                                                                                                                                                  | The contract address whose metadata you want to update.                                 |
| Params          | [FVyUpdateErc1155ContractMetadataRequest](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/token/fvyupdateerc1155contractmetadatarequest) | Parameters for this operation (FVyUpdateErc1155ContractMetadataRequest)                 |
| OnComplete      | FVyOnUpdateErc1155ContractMetadataComplete                                                                                                               | The callback function called when the user preferences retrieval operation is complete. |

\
**OnComplete Callback** (FVyOnUpdateErc1155ContractMetadataComplete)\
Contains a [FVyErc1155TokenContractMetadataDto](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/token/fvyerc1155tokencontractmetadatadto) response type
