mpl-token-metadata icon indicating copy to clipboard operation
mpl-token-metadata copied to clipboard

Burning LP Tokens with BurnV1

Open bicced opened this issue 1 year ago • 2 comments

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)

`

bicced avatar Feb 07 '24 04:02 bicced