Function withdrawNFT

  • Withdraws NFT from locker.

    Example

    import { withdrawNFT } from '@honey-finance/sdk';
    const metadata = await Metadata.findByMint(sdkConfig.saberHqConnection, mintID);
    const tx = await withdrawNFT(sdkConfig.saberHqConnection, honeyUser, metadata.pubkey);

    Parameters

    • connection: Connection
    • honeyUser: HoneyUser
    • metadataPubKey: PublicKey

    Returns Promise<actions.TxResponse>

Generated using TypeDoc