• Checks whether a CLMM pool already exists at the given seed index for this mint pair + amm config. Returns true when the index is free to use. Throws when poolSeedIndex is outside 1..MAX_CLMM_POOL_SEED_INDEX (indices the program rejects).

    Parameters

    • umi: Umi
    • baseMint: PublicKey<string>
    • ammConfig: PublicKey<string>
    • poolSeedIndex: number
    • options: {
          env?: "devnet" | "mainnet";
          quoteMint?: PublicKey<string>;
      } = {}
      • Optional env?: "devnet" | "mainnet"
      • Optional quoteMint?: PublicKey<string>

    Returns Promise<boolean>

Generated using TypeDoc