@lightprotocol/compressed-token - v0.23.0-beta.8
    Preparing search index...

    Variable createTokenPoolConst

    createTokenPool: (
        rpc: Rpc,
        payer: Signer,
        mint: PublicKey,
        confirmOptions?: ConfirmOptions,
        tokenProgramId?: PublicKey,
    ) => Promise<string> = createSplInterface

    Type Declaration

      • (
            rpc: Rpc,
            payer: Signer,
            mint: PublicKey,
            confirmOptions?: ConfirmOptions,
            tokenProgramId?: PublicKey,
        ): Promise<string>
      • Register an existing mint with the CompressedToken program

        Parameters

        • rpc: Rpc

          RPC connection to use

        • payer: Signer

          Fee payer

        • mint: PublicKey

          SPL Mint address

        • OptionalconfirmOptions: ConfirmOptions

          Options for confirming the transaction

        • OptionaltokenProgramId: PublicKey

          Optional: Address of the token program. Default: TOKEN_PROGRAM_ID

        Returns Promise<string>

        transaction signature

    Use createSplInterface instead.