post https://ag.eqhub.eqbr.com/api/v2/wallet-721/tokens/metadata/refresh
Renew metadata information for a token that conforms to the ERC-721 standard of a specific block chain with Contract Id and Token Id as identification values. Contract Id is a unique value that can identify a smart contract. Token Id is a unique value that can identify an ERC-721 token.
| name | Type | Required | Description |
|---|
| token_721 | Object | True | Object representing token 721 information. |
| metadata | Object | True | Object representing metadata information. |
| name | Type | Required | Description |
|---|
| token_721_id | Number | True | A unique identifier to identify tokens between multiple contracts in this server. Differs from the token_id managed in the blockchain contracts. |
| contract_id | Number | True | A unique identifier of the smart contract. |
| token_id | Number | True | Identifer for tokens which are managed in contract. |
| token_uri | String | True | An uri which can retrieve token’s metadata, which is managed by contract. |
| owner_address | String | True | An address of the token owner. |
| Name | Type | Required | Description |
|---|
| metadata_id | Number | True | A unique identifier of the metadata. |
| token_721_id | Number | True | A unique identifier to identify tokens between multiple contracts in this server. Differs from the token_id managed in the blockchain contracts. |
| name | String | Optional | One of metadata property representing token’s name. May remain empty if data does not exist in metadata file or metadata form differs from the data above. |
| description | String | Optional | One of metadata property representing token’s description. May remain empty if data does not exist in metadata file or metadata form differs from the data above. |
| image | String | True | One of metadata property representing token’s image. May remain empty if data does not exist in metadata file or metadata form differs from the data above. |
| image_data | String | Optional | One of metadata property representing token’s image data(SVG). May remain empty if data does not exist in metadata file or metadata form differs from the data above. |
| background_color | String | Optional | One of metadata property representing token’s background color. May remain empty if data does not exist in metadata file or metadata form differs from the data above. |
| external_url | String | Optional | One of metadata property representing token’s external_url. May remain empty if data does not exist in metadata file or metadata form differs from the data above. |
| animation_url | String | Optional | One of metadata property representing token’s animation_url. May remain empty if data does not exist in metadata file or metadata form differs from the data above. |
| youtube_url | String | Optional | One of metadata property representing token’s youtube url. May remain empty if data does not exist in metadata file or metadata form differs from the data above. |
| metadataAttributes | Object[] | Optional | One of metadata property representing token’s attribute array. May remain empty if data does not exist in metadata file or metadata form differs from the data above. |
| Name | Type | Required | Description |
|---|
| display_type | String | Optional | One of attribute property representing attribute’s display type. May remain empty if data does not exist in metadata file or metadata form differs from the data above. |
| trait_type | String | Optional | One of attribute property representing attribute’s trait type. May remain empty if data does not exist in metadata file or metadata form differs from the data above. |
| value | Number | Optional | One of attribute property representing attribute’s value. May remain empty if data does not exist in metadata file or metadata form differs from the data above. |