update_token_metadata
An entrypoint that updates share token metadata. Also can add new fields.
Call parameters
meta_pair_type
Field
Type
Description
key
string
Metadata key
value
bytes
Metadata value
upd_tok_meta_type
Field
Type
Description
token_id
nat
Token's (farm's) ID
token_info
Token's metadata
Usage
Errors
Not-admin
-sender
of the transaction is not current administrator.QSystem/farm-not-set
- farming withfid
parameter doesn't exist.
Last updated