Is there a way to retrieve the token extension fee for SolToken2022? When we pass the Mint address, it returns the transfer fee.
Edit:
const fee = await getTransferFeeConfig(mint
);
console.log("fee: ", fee);
**error**
Error fetching transfer fee config: TypeError: Cannot read properties of undefined (reading 'length')