I would like to fetch on-chain metadata of nft such as collection and creators. The function which I used before Metadata::from_account_info
is missing in the sdk in latest version.
1 Answer
I think that this is what's now used in the latest rust client. Metadata::safe_deserialize
-
I am using
Metadata::try_from
and it's working fine. just have to pass metadata account info. Commented Jan 6 at 15:12