update_token_metadata
An entrypoint that updates LP token metadata. Also can add a new fields to an existing metadata.
Call parameters
metadata_pair_t
Field | Type | Description |
---|---|---|
key | string | Metadata key |
value | bytes | Metadata value |
upd_tok_meta_t
Field | Type | Description |
---|---|---|
token_id | token_id_t (nat) | Token's (pool's) ID |
token_info | list(metadata_pair_t) | Token's metadata |
Usage
Errors
108
- pair (pool) with the specifiedtoken_id
not listed.402
-sender
of the transaction is not a manager.412
- non payable entrypoint (can't accept TEZ tokens during call of an entrypoint).
Last updated