How can I update the primary_sale_happened property in Solana NFT, using python?

Viewed 206
1 Answers
  1. the Python API is very outdated. If you are not absolutely limited to using Python you should rather have a look at JS packages or rust crates. There is no public implementation for set_primary_sale_happened in the python API.
  2. To set field primary_sale_happened to true a special instruction has to be called similary to e.g. the authority fields. it cannot be changed through a simple data update.

Metaboss has an implementation of how to do it in rust.

Related