I tried using mint account info (which obviously wouldn't work) and I also tried to deserialise the mint.to_account_info().data
into the metadata struct from the mpl_token_metadata::state::Metadata
. This gave errors.
I need the sellerFeeBasisPoints
and the creators info from the NFT Metadata.
Also, is there a way to update the primarySaleHappened
parameter? (I am writing a custom auction contract for an NFT Marketplace).
Thanks in Advance :)