Function getAllWhirlpoolAccountsForConfig

  • Retrieve a list of whirlpool addresses and accounts filtered by the given params using getProgramAccounts.

    Parameters

    • __namedParameters: {
          configId: Address;
          connection: Connection;
          programId: Address;
      }
      • configId: Address
      • connection: Connection
      • programId: Address

    Returns Promise<ReadonlyMap<string, WhirlpoolData>>

    tuple of whirlpool addresses and accounts