I created a collection and Anyone -> ESDTRoleBurnForAll role is coming by default.
What does this role do and how can I remove it from the collection?
I created a collection and Anyone -> ESDTRoleBurnForAll role is coming by default.
What does this role do and how can I remove it from the collection?
The role says that anyone can locally burn his/her tokens.
Here you can find a log message:
https://github.com/multiversx/mx-sdk-js-core/blob/feat/next/src/transactionsFactories/tokenManagementTransactionsFactory.ts#L598
So, you can unset the role with this transaction:
https://github.com/multiversx/mx-sdk-js-core/blob/feat/next/src/transactionsFactories/tokenManagementTransactionsFactory.ts#L270