Search code examples
metadatasolanametaplex

How to change the seller_fee_basis_points using metaboss?


I want to change the value of the seller_fee_basis_points in the metadata of a solana blockchain NFT.

In the metaboss documentation I do not see a call method for updating the seller fee.

To change the name the command would be used: metaboss update name --keypair <PATH_TO_KEYPAIR> --account <MINT_ACCOUNT> --new-name <NEW_NAME>

But how can one change the seller_fee_basis_points in a similar way?


Solution

  • That’s easy. Just use the metaboss update data or data-all command.

    I would do the following process:

    1. run metaboss decode -o --full --list-file .json (if you don’t have a hashlist run metaboss snapshot mints)
    2. Use search and replace in the folder where the json files went to to modify the seller_fee_basis_points accordingly 3.run metaboss update-all

    Please let me know if you need more details.