mpl-token-metadata
mpl-token-metadata copied to clipboard
Burning LP Tokens with BurnV1
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)
`