Open bicced opened 7 months ago
I am experience issues burning Raydium LP tokens, i'm getting the error "incorrect account owner"
Is my implementation correct? Seems to work on other tokens created and minted.
` const umi = createUmi(RPC_ENDPOINT).use(walletAdapterIdentity(wallet)).use(mplTokenMetadata()); const mint = publicKey(tokenAddress);
await burnV1(umi, { mint, amount: parseInt(amount), tokenStandard: TokenStandard.Fungible, }).sendAndConfirm(umi)
`
Is LP burning supported by metaplex?
If they use Token 2022 you will need to derive the token account manually and pass it in. Do you have an example of one of these tokens?
I am experience issues burning Raydium LP tokens, i'm getting the error "incorrect account owner"
Is my implementation correct? Seems to work on other tokens created and minted.
` const umi = createUmi(RPC_ENDPOINT).use(walletAdapterIdentity(wallet)).use(mplTokenMetadata()); const mint = publicKey(tokenAddress);
`