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 1


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.
    – denimcodes
    Jan 6 at 15:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.